difficulties in building -cnc7 on redhat/suse/fedora
Jim Faulkner <[email protected]> Tue, 19 Apr 2005 11:14:19 -0400 (EDT)
| Newsgroups | gmane.linux.conectiva.apt-rpm |
|---|---|
| Message-ID | <[email protected]> |
I just finished building apt-0.5.15cnc7 on a number of distros: RedHat 8.0 RedHat 9 RedHat Enterprise 3 RedHat Enterprise 4 Fedora Core 1 Fedora Core 2 Fedora Core 3 Suse 9.1 Suse 9.2 It was much more difficult to get -cnc7 to compile on these distributions compared to previous releases of apt. Each of these OSes require that I specify "--disable-dependency-tracking" on the ./configure command line, otherwise I get errors like this at the beginning of the build: Makefile:488: lib/.deps/liblua_la-lstrlib.Plo: No such file or directory Makefile:489: lib/.deps/liblua_la-ltablib.Plo: No such file or directory Makefile:490: local/.deps/liblua_la-linit.Plo: No such file or directory Makefile:491: local/.deps/liblua_la-lposix.Plo: No such file or directory Makefile:492: local/.deps/liblua_la-lrexlib.Plo: No such file or directory Makefile:493: lua/.deps/lua_lua-lua.Po: No such file or directory Makefile:494: luac/.deps/luac_luac-luac.Po: No such file or directory Makefile:495: luac/.deps/luac_luac-print.Po: No such file or directory make[1]: *** No rule to make target `luac/.deps/luac_luac-print.Po'. Stop. make[1]: Leaving directory `/root/apt-0.5.15cnc7/lua' make: *** [all-recursive] Error 1 Additionally, I had to run "libtoolize --force" before running ./configure so that I did not encounter this error at the beginning of the build: make[1]: Entering directory `/root/apt-0.5.15cnc7/lua' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I./include -I./local -I/usr/include/rpm -DUSE_DLOPEN -DWITH_POSIX -g -O2 -c -o local/liblua_la-linit.lo `test -f 'local/linit.c' || echo './'`local/linit.c libtool: unrecognized option `--tag=CC' Try `libtool --help' for more information. make[1]: *** [local/liblua_la-linit.lo] Error 1 make[1]: Leaving directory `/root/apt-0.5.15cnc7/lua' make: *** [all-recursive] Error 1 Actually, for all of the distros except for Suse 9.2, Fedora Core 2, and Fedora Core 3, I had to download, compile, install, and put libtool 1.5.14 into my PATH. Otherwise either the build or "make install" would fail at different points depending on the distro. Anyway, I've managed to get it compiled on all of these distros, so I don't need any help. However, I think it would be nice if the apt source tarball could be created with a more compatible build environment next time. :) thanks, Jim Faulkner