I’m trying to install ROOT from source (root_v4.04.02f.source.tar.gz) with VC++ 6.0
However i get a link error when i try to run the makefile.
This is what i get on Cygwin.
$ ./configure win32
Configuring for win32
Checking whether to build included libfreetype6 … yes
Checking for mysql.h … no
Checking for libmysqlclient_r, libmysqlclient, or mysqlclient … no
Checking for occi.h … no
Checking for libclntsh … no
Checking for libocci … no
Checking for libpq-fe.h … no
Checking for libpq … no
Checking for sql.h … no
Checking for libsqlod … no
Checking for rfio_api.h … no
Checking for libshift, shiftmd, or shift … no
Checking for libpacklib, packmd, or packlib … no
Checking for libkernlib, kernmd, or kernlib … no
Checking for libPythia6 … no
Checking for libVenus … no
Checking for dcap.h … no
Checking for libdcap … no
Checking for chirp_client.h … no
Checking for libchirp_client … no
Checking for AliEnAPI++.h … no
Checking for libAliEnAPI++ … no
Checking for jpeglib.h … no
Checking for png.h … no
Checking for tiffio.h … no
Checking for gif_lib.h … no
Checking for libjpeg … no
Checking for libtiff … no
Checking for libz … no
Checking for libpng … no
Checking whether to build included libAfterImage … yes
Checking for ldap.h … no
Checking for libldap … no
Checking for Python.h … no
Checking for libpython2.4, libpython2.3, libpython2.2, python24, python23, or Py
thon … no
Checking for libxml/tree.h … no
Checking for libxml2_a, or libxml2 … no
Checking for iconv.h … no
Checking for iconv_a … no
Checking whether to build xrootd … no
Checking for globusdir … no
Checking for GLOBUS_LOCATION … no
Checking for libssl … no
Checking for t_server.h … no
Checking for libsrp … no
Checking for libgmp … no
Checking for libmisc … no
Checking for pwauth.h … no
Checking for krb5.h … no
Checking for libk5crypto … no
Checking whether we’re using MIT Kerberos … no
Checking for libkrb5 … no
Checking for kinit … no
Checking for shadow passwords … no
Checking whether to build libTable … no
Checking for Clarens support … no
Checking for PEAC support … no
Writing config/Makefile.config … done
Writing include/config.h … done
Writing bin/root-config … done
Writing etc/system.rootrc … done
Writing etc/system.rootauthrc … done
Writing etc/system.rootdaemonrc … done
Writing etc/root.mimes … done
Writing bin/memprobe … done
Writing build/misc/root-help.el … done
Writing macros/html.C … done
Writing config.status … done
Converting files in tutorials and test to DOS format … done
Enabled support for asimage, builtin_afterimage, builtin_freetype, exceptions, e
xplicitlink, opengl, thread.
To build ROOT type:
make
Kevin@klu-9ua6an24qfe /cygdrive/c/root
$ make
build/win/ld.sh -nologo -incremental:no -nodefaultlib:libc.lib -nodefaultlib:d
for.lib -o bin/rmkdepend.exe build/rmkdepend/cppsetup.o build/rmkdepend/ifparser
.o build/rmkdepend/include.o build/rmkdepend/main.o build/rmkdepend/parse.o buil
d/rmkdepend/pr.o
link: invalid option – n
Try `link --help’ for more information.
make: *** [bin/rmkdepend.exe] Error 1
But now another problem arises which i try to make
It complains that atoi and atof is not a member std.
Can this be a VC++ compiler issue??
Output from cygwin:
String.cxx
include\TString.h(408) : error C2039: ‘atoi’ : is not a member of 'std’
include\TString.h(411) : error C2039: ‘atof’ : is not a member of 'std’
make: *** [base/src/String.o] Error 2
Hi,
I downloaded the source.tar.gz you stated, unpacked it, and ended up with that makefile.msc. So something must have gone wrong with unpacking your tar.gz. Just unpack it again.
Axel.