Severino Tessarin <tessarin@bestia.desy.de> writes:
> Hi rooter ,
> I compiled the new version on a linux suse 7.0 without any problems,
> but the procedure was been interrupeted during the creation of h2root
> file (see below).
> I also tried to include mysql database with this configure flags:
>
> ./configure linuxsuse6 --with-ttf-fontdir=/usr/Root/ttf/fonts
> --with-cern-libdir=/cern/lib
> --with-mysql-incdir=~/mySQL/mysql-3.23.33-pc-linux-gnu-i686/include/
> --with-mysql-libdir=~/mySQL/mysql-3.23.33-pc-linux-gnu-i686/lib
> but the answer was Checking for mysql.h ... no
> This maybe due to my system not properly configured,. I'm only a beginner with
> the databases.
>
> Anyone have an idea how to solve these problems,
> Seve
> ----------------------------------------------------
> g++ -O2
> -o bin/h2root main/src/h2root.o main/src/hntvar2.o \ -Llib -lCore
> -lCint -lHist -lGraf -lGraf3d -lTree -lMatrix \ -L/cern/lib
> -lpacklib -lkernlib -lg2c -lm -ldl -rdynamic
> /cern/lib/libpacklib.a(ypgetacctent.o): In function `ypgetacctent':
> ypgetacctent.o(.text+0x20a): undefined reference to `yp_get_default_domain'
> ypgetacctent.o(.text+0x267): undefined reference to `yp_match'
> ypgetacctent.o(.text+0x2d0): undefined reference to `yp_match'
> ypgetacctent.o(.text+0x366): undefined reference to `yp_all' collect2: ld
> returned 1 exit status gmake: *** [bin/h2root] Error 1
>
Hi Severino,
I guess you need to add -lnsl to the SYSLIBS variable in
config/Makefile.linuxsuse6 as a quick hack. (see for example
Makefile.linuxdeb2). Folks using SUSE 7 will tell you which arch to
use.
Jiri
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:36 MET