[rrd-users] Problems building rpm (1.2.11 - 1.test) on SMP system (solved)?
Michael Heiming
michael at heiming.de
Mon Dec 19 15:38:46 MET 2005
Hi!
Problems compiling (1.2.11 - 1.test) on smp system (Linux RHEL 3.0 all
patches installed), the same .spec file works without problems after
adding "%define _without_python 1" on a single CPU system (RHEL 3.0 all
patches installed)
The problem seems to be realted to "librrd.la":
/bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -pipe -march=i686
-fPIC -DPIC -Wall -pedantic -Wshadow -Wpointer-arith -Wcas
t-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Winline -W -o rrdtool librrd.la -lfreetype -lpng -lz -l
art_lgpl_2 -lm
gcc -DHAVE_CONFIG_H "-DMAKE_TIMESTAMP=\"Mon Dec 19 15:04:59 CET
2005\"" -I. -I. -I.. -DRRD_DEFAULT_FONT=\"/usr/share/rrdtool/fon
ts/DejaVuSansMono-Roman.ttf\" -DNUMVERS=1.2011 -I/usr/include/libart-2.0
-I/usr/include/freetype2 -pthread -O2 -g -pipe -march=i6
86 -fPIC -DPIC -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Winline -W -MT librrd_th_la-rrd_thread_safe.lo -MD -MP -MF
.deps/librrd_th_la-rrd_thread_safe.Tpo -c rrd_thread_safe.c -fPIC -
DPIC -o .libs/librrd_th_la-rrd_thread_safe.o
libtool: link: cannot find the library `librrd.la'
make[2]: *** [rrdtool] Error 1
make[2]: *** Waiting for unfinished jobs....
Commenting "%{__make} %{?_smp_mflags}" in rrdtool.spec does allow to
generate the rpms. OK the macro seems just relevant to building, so it
shouldn't be a real problem. Thought I'd send to the list anyway,
perhaps someone stumbles over the same problem.
Best regards and keep the great work!
Michael Heiming
--
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list