|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
libtool trouble compiling 0.94.1Hi all,
Compiling 0.94.1 within the same environement as I did without trouble for 0.94, I encounter the following error that stops the compilation process: + make make all-recursive make[1]: Entering directory `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1' Making all in libclamunrar make[2]: Entering directory `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1/libclamunrar' /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -fno-strength-reduce -MT unrar15.lo -MD -MP -MF .deps/unrar15.Tpo -c -o unrar15.lo unrar15.c ../libtool: X--tag=CC: command not found ../libtool: libtool: ignoring unknown tag : command not found ../libtool: X--mode=compile: command not found ../libtool: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: X/usr/bin/gcc: No such file or directory ../libtool: X-DHAVE_CONFIG_H: command not found ../libtool: X-I.: command not found ../libtool: X-I..: command not found ../libtool: X-I..: command not found ../libtool: X-O2: command not found ../libtool: X-fomit-frame-pointer: command not found ../libtool: X-pipe: command not found ../libtool: X-mcpu=pentiumpro: command not found ../libtool: X-march=i586: command not found ../libtool: X-fno-strength-reduce: command not found ../libtool: X-MT: command not found ../libtool: Xunrar15.lo: command not found ../libtool: X-MD: command not found ../libtool: X-MP: command not found ../libtool: X-MF: command not found ../libtool: X.deps/unrar15.Tpo: No such file or directory ../libtool: X-c: command not found ../libtool: Xunrar15.lo: command not found ../libtool: libtool: compile: cannot determine name of library object from `': command not found make[2]: *** [unrar15.lo] Error 1 make[2]: Leaving directory `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1/libclamunrar' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1' Is it a problem on my side or a more general problem with clamav's libtool ? -- Vincent Régnard vregnard@... TBS-internet.com 027 630 5902 _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net |
|
|
Re: libtool trouble compiling 0.94.1Vincent Régnard wrote:
> Hi all, > > Compiling 0.94.1 within the same environement as I did without trouble > for 0.94, I encounter the following error that stops the compilation > process: > > + make > make all-recursive > make[1]: Entering directory > `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1' > Making all in libclamunrar > make[2]: Entering directory > `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1/libclamunrar' > /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc > -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -fomit-frame-pointer -pipe > -mcpu=pentiumpro -march=i586 -fno-strength-reduce -MT unrar15.lo -MD -MP > -MF .deps/unrar15.Tpo -c -o unrar15.lo unrar15.c > ../libtool: X--tag=CC: command not found > ../libtool: libtool: ignoring unknown tag : command not found > ../libtool: X--mode=compile: command not found > ../libtool: *** Warning: inferring the mode of operation is deprecated.: > command not found > ../libtool: *** Future versions of Libtool will require --mode=MODE be > specified.: command not found > ../libtool: X/usr/bin/gcc: No such file or directory > ../libtool: X-DHAVE_CONFIG_H: command not found > ../libtool: X-I.: command not found > ../libtool: X-I..: command not found > ../libtool: X-I..: command not found > ../libtool: X-O2: command not found > ../libtool: X-fomit-frame-pointer: command not found > ../libtool: X-pipe: command not found > ../libtool: X-mcpu=pentiumpro: command not found > ../libtool: X-march=i586: command not found > ../libtool: X-fno-strength-reduce: command not found > ../libtool: X-MT: command not found > ../libtool: Xunrar15.lo: command not found > ../libtool: X-MD: command not found > ../libtool: X-MP: command not found > ../libtool: X-MF: command not found > ../libtool: X.deps/unrar15.Tpo: No such file or directory > ../libtool: X-c: command not found > ../libtool: Xunrar15.lo: command not found > ../libtool: libtool: compile: cannot determine name of library object > from `': command not found > make[2]: *** [unrar15.lo] Error 1 > make[2]: Leaving directory > `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1/libclamunrar' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1' > > Is it a problem on my side or a more general problem with clamav's > libtool ? Did you run "autoreconf -fiv" or similar? _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net |
|
|
Re: libtool trouble compiling 0.94.1aCaB a écrit :
> Vincent Régnard wrote: >> Hi all, >> >> Compiling 0.94.1 within the same environement as I did without trouble >> for 0.94, I encounter the following error that stops the compilation >> process: >> >> + make >> make all-recursive >> make[1]: Entering directory >> `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1' >> Making all in libclamunrar >> make[2]: Entering directory >> `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1/libclamunrar' >> /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc >> -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -fomit-frame-pointer -pipe >> -mcpu=pentiumpro -march=i586 -fno-strength-reduce -MT unrar15.lo -MD -MP >> -MF .deps/unrar15.Tpo -c -o unrar15.lo unrar15.c >> ../libtool: X--tag=CC: command not found >> ../libtool: libtool: ignoring unknown tag : command not found >> ../libtool: X--mode=compile: command not found >> ../libtool: *** Warning: inferring the mode of operation is deprecated.: >> command not found >> ../libtool: *** Future versions of Libtool will require --mode=MODE be >> specified.: command not found >> ../libtool: X/usr/bin/gcc: No such file or directory >> ../libtool: X-DHAVE_CONFIG_H: command not found >> ../libtool: X-I.: command not found >> ../libtool: X-I..: command not found >> ../libtool: X-I..: command not found >> ../libtool: X-O2: command not found >> ../libtool: X-fomit-frame-pointer: command not found >> ../libtool: X-pipe: command not found >> ../libtool: X-mcpu=pentiumpro: command not found >> ../libtool: X-march=i586: command not found >> ../libtool: X-fno-strength-reduce: command not found >> ../libtool: X-MT: command not found >> ../libtool: Xunrar15.lo: command not found >> ../libtool: X-MD: command not found >> ../libtool: X-MP: command not found >> ../libtool: X-MF: command not found >> ../libtool: X.deps/unrar15.Tpo: No such file or directory >> ../libtool: X-c: command not found >> ../libtool: Xunrar15.lo: command not found >> ../libtool: libtool: compile: cannot determine name of library object >> from `': command not found >> make[2]: *** [unrar15.lo] Error 1 >> make[2]: Leaving directory >> `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1/libclamunrar' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory >> `/mnt/pitux_data/rpmbuild/RPM/BUILD/clamav-0.94.1' >> >> Is it a problem on my side or a more general problem with clamav's >> libtool ? > > Did you run "autoreconf -fiv" or similar? I have a rpmbuild macro that is doing %{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; before executing configure I cannot tell what this is exactly doing nor why, it's been doing so for years... On thing is sure, replacing clamav's autobuild ./libtool with my system's default (an old 1.5.22) is solving the trouble in my case. Is there any problem using my system's libtool instead of clamav's in that case ? -- Vincent Régnard vregnard@... TBS-internet.com 027 630 5902 _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net |
|
|
Re: libtool trouble compiling 0.94.1Vincent Régnard wrote:
> I have a rpmbuild macro that is doing > > %{?__libtoolize:[ -f configure.in ] && %{__libtoolize} --copy --force} ; > > before executing configure > > I cannot tell what this is exactly doing nor why, it's been doing so for > years... > > On thing is sure, replacing clamav's autobuild ./libtool with my > system's default (an old 1.5.22) is solving the trouble in my case. > > Is there any problem using my system's libtool instead of clamav's in > that case ? Yes, precisely. With --force libtoolize overwrites the shipped libtool stuff and replaces it with your system's libtool (which is older and not compatible). It never triggered before because we were in turn shipping an outdated libtool as well, but at some point due to problems with darwin (IIRC) we had to upgrade. If you can get the reconfigure script to run without --force you should have no problems. -aCaB _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net |
| Free embeddable forum powered by Nabble | Forum Help |