I'm using: ./configure make checkinstall to install subversion 1.2.3 but the installation is failing: make[2]: Leaving directory `/home/adriel/bin/subversion-1.2.3/apr' if [ ! -d /usr/local/apr/include/apr-0 ]; then \ /home/adriel/bin/subversion-1.2.3/apr/build/mkdir.sh /usr/local/apr/include/apr-0; \ fi; mkdir /usr/local/apr mkdir /usr/local/apr/include mkdir /usr/local/apr/include/apr-0 cp -p /home/adriel/bin/subversion-1.2.3/apr/include/*.h /usr/local/apr/include/apr-0; cp: preserving times for `/usr/local/apr/include/apr-0/apr_allocator.h': No such file or directory cp: preserving times for `/usr/local/apr/include/apr-0/apr_atomic.h': No such file or directory cp: preserving times for `/usr/local/apr/include/apr-0/apr_compat.h': No such file or directory ... more of the same ... cp: preserving times for `/usr/local/apr/include/apr-0/apr_want.h': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/adriel/bin/subversion-1.2.3/apr' make: *** [external-install] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. Can someone tell me why this is failing? Thanks, Jerome
* Susemail <susemail@hawaii.rr.com> [09-13-05 18:49]:
cp: preserving times for `/usr/local/apr/include/apr-0/apr_want.h': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/adriel/bin/subversion-1.2.3/apr' make: *** [external-install] Error 1
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
Can someone tell me why this is failing?
looks like it's looking for Apache2: pat@wahoo:~> locate apr_want.h /usr/include/apache2-prefork/apr_want.h /usr/include/apache2-worker/apr_want.h /usr/include/apache2/apr_want.h pat@wahoo:~> locate apr_allocator /usr/include/apache2-prefork/apr_allocator.h /usr/include/apache2-worker/apr_allocator.h /usr/include/apache2/apr_allocator.h pat@wahoo:~> locate apr_atomic /usr/include/apache2-prefork/apr_atomic.h /usr/include/apache2-worker/apr_atomic.h /usr/include/apache2/apr_atomic.h -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
On Tuesday 13 September 2005 14:12, Patrick Shanahan wrote:
* Susemail <susemail@hawaii.rr.com> [09-13-05 18:49]:
cp: preserving times for `/usr/local/apr/include/apr-0/apr_want.h': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/adriel/bin/subversion-1.2.3/apr' make: *** [external-install] Error 1
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
Can someone tell me why this is failing?
looks like it's looking for Apache2:
pat@wahoo:~> locate apr_want.h /usr/include/apache2-prefork/apr_want.h /usr/include/apache2-worker/apr_want.h /usr/include/apache2/apr_want.h pat@wahoo:~> locate apr_allocator /usr/include/apache2-prefork/apr_allocator.h /usr/include/apache2-worker/apr_allocator.h /usr/include/apache2/apr_allocator.h pat@wahoo:~> locate apr_atomic /usr/include/apache2-prefork/apr_atomic.h /usr/include/apache2-worker/apr_atomic.h /usr/include/apache2/apr_atomic.h
-- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
Hello Patrick, It's looking for apache2 in the wrong place on suse: /usr/local/apr/include/apr-0/apr_atomic.h pat@wahoo:~> locate apr_atomic
/usr/include/apache2-prefork/apr_atomic.h
How do I tell it where the files are? Thanks, Jerome
* Susemail <susemail@hawaii.rr.com> [09-13-05 20:46]:
It's looking for apache2 in the wrong place on suse:
/usr/local/apr/include/apr-0/apr_atomic.h
pat@wahoo:~> locate apr_atomic
/usr/include/apache2-prefork/apr_atomic.h
How do I tell it where the files are?
I would guess in one of the first steps, configure --help and look for apache2 or include. It should tell you how to assign a different address. You will have to start all over from scratch. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
On Tuesday 13 September 2005 15:54, Patrick Shanahan wrote:
* Susemail <susemail@hawaii.rr.com> [09-13-05 20:46]:
It's looking for apache2 in the wrong place on suse:
/usr/local/apr/include/apr-0/apr_atomic.h
pat@wahoo:~> locate apr_atomic
/usr/include/apache2-prefork/apr_atomic.h
How do I tell it where the files are?
I would guess in one of the first steps, configure --help and look for apache2 or include. It should tell you how to assign a different address. You will have to start all over from scratch. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
Hi again, I used krpmbuilder this time but it stopped here: libtool: link: warning: `/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../..//libexpat.la' seems to be moved libtool: link: warning: `/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../..//libexpat.la' seems to be moved cd subversion/clients/cmdline && /bin/sh /usr/src/packages/BUILD/subversion-1.2.3/libtool --tag=CC --silent --mode=link gcc -O2 -g -march=i486 -mcpu=i686 -pthread -DNEON_ZLIB -rpath /opt/kde3/lib -o svn add-cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o lock-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o notify.o prompt.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o unlock-cmd.o update-cmd.o util.o ../../../subversion/libsvn_client/libsvn_client-1.la ../../../subversion/libsvn_wc/libsvn_wc-1.la ../../../subversion/libsvn_ra/libsvn_ra-1.la ../../../subversion/libsvn_delta/libsvn_delta-1.la ../../../subversion/libsvn_subr/libsvn_subr-1.la /usr/src/packages/BUILD/subversion-1.2.3/apr-util/libaprutil-0.la -lexpat /usr/src/packages/BUILD/subversion-1.2.3/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/src/packages/BUILD/subversion-1.2.3/neon/src/libneon.la -L/opt/kde3/lib -lz -lxml2 -lz -lpthread -lm cd subversion/svnversion && /bin/sh /usr/src/packages/BUILD/subversion-1.2.3/libtool --tag=CC --silent --mode=link gcc -O2 -g -march=i486 -mcpu=i686 -pthread -DNEON_ZLIB -rpath /opt/kde3/lib -o svnversion main.o ../../subversion/libsvn_client/libsvn_client-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la ../../subversion/libsvn_wc/libsvn_wc-1.la /usr/src/packages/BUILD/subversion-1.2.3/apr-util/libaprutil-0.la -lexpat /usr/src/packages/BUILD/subversion-1.2.3/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/src/packages/BUILD/subversion-1.2.3/neon/src/libneon.la -L/opt/kde3/lib -lz -lxml2 -lz -lpthread -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7412 + umask 022 + cd /usr/src/packages/BUILD + cd subversion-1.2.3 + make DESTDIR=/var/tmp/build-root-subversion install-strip make: *** No rule to make target `install-strip'. Stop. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.7412 (%install) Bad exit status from /var/tmp/rpm-tmp.7412 (%install) libexpat.la is in /usr/lib/libexpat.la not /usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../..//libexpat.la is this a problem? 'make: *** No rule to make target `install-strip'. Stop.' Am I supposed to make the rule? Thanks, Jerome
Hi Dirty workaround, I know its not good, but simply mkdir -p /usr/local/apr/include/apr-0 cd /usr/local/apr/include/apr-0 ln -s /usr/include/apache2-prefork/apr_atomic.h Or just edit the ./configure should be near the top. On Wednesday 14 September 2005 06:48, Susemail wrote:
On Tuesday 13 September 2005 15:54, Patrick Shanahan wrote:
* Susemail <susemail@hawaii.rr.com> [09-13-05 20:46]:
It's looking for apache2 in the wrong place on suse:
/usr/local/apr/include/apr-0/apr_atomic.h
pat@wahoo:~> locate apr_atomic
/usr/include/apache2-prefork/apr_atomic.h
How do I tell it where the files are?
I would guess in one of the first steps, configure --help and look for apache2 or include. It should tell you how to assign a different address. You will have to start all over from scratch. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
Hi again, I used krpmbuilder this time but it stopped here:
libtool: link: warning: `/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../..//libexpat.la' seems to be moved libtool: link: warning: `/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../..//libexpat.la' seems to be moved cd subversion/clients/cmdline && /bin/sh /usr/src/packages/BUILD/subversion-1.2.3/libtool --tag=CC --silent --mode=link gcc -O2 -g -march=i486 -mcpu=i686 -pthread -DNEON_ZLIB -rpath /opt/kde3/lib -o svn add-cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o lock-cmd.o log-cmd.o ls-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o notify.o prompt.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o unlock-cmd.o update-cmd.o util.o ../../../subversion/libsvn_client/libsvn_client-1.la ../../../subversion/libsvn_wc/libsvn_wc-1.la ../../../subversion/libsvn_ra/libsvn_ra-1.la ../../../subversion/libsvn_delta/libsvn_delta-1.la ../../../subversion/libsvn_subr/libsvn_subr-1.la /usr/src/packages/BUILD/subversion-1.2.3/apr-util/libaprutil-0.la -lexpat /usr/src/packages/BUILD/subversion-1.2.3/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/src/packages/BUILD/subversion-1.2.3/neon/src/libneon.la -L/opt/kde3/lib -lz -lxml2 -lz -lpthread -lm cd subversion/svnversion && /bin/sh /usr/src/packages/BUILD/subversion-1.2.3/libtool --tag=CC --silent --mode=link gcc -O2 -g -march=i486 -mcpu=i686 -pthread -DNEON_ZLIB -rpath /opt/kde3/lib -o svnversion main.o ../../subversion/libsvn_client/libsvn_client-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la ../../subversion/libsvn_wc/libsvn_wc-1.la /usr/src/packages/BUILD/subversion-1.2.3/apr-util/libaprutil-0.la -lexpat /usr/src/packages/BUILD/subversion-1.2.3/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/src/packages/BUILD/subversion-1.2.3/neon/src/libneon.la -L/opt/kde3/lib -lz -lxml2 -lz -lpthread -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7412 + umask 022 + cd /usr/src/packages/BUILD + cd subversion-1.2.3 + make DESTDIR=/var/tmp/build-root-subversion install-strip make: *** No rule to make target `install-strip'. Stop.
RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.7412 (%install) Bad exit status from /var/tmp/rpm-tmp.7412 (%install)
libexpat.la is in /usr/lib/libexpat.la not /usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../..//libexpat.la is this a problem?
'make: *** No rule to make target `install-strip'. Stop.' Am I supposed to make the rule?
Thanks, Jerome
-- -- Chadley Wilson Production Line Superintendant Pinnacle Micro Manufacturers of Proline Computers ==================================== Exercise freedom, Use LINUX =====================================
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2005-09-13 at 13:47 -1000, Susemail wrote:
I'm using: ./configure make checkinstall
You are running "checkinstall" as root, I assume? I don't know if you do, because as I run the rest as user, I have to su to root just before calling checkinstall - actually, I use sudo. I don't see neither above. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDJ395tTMYHG2NR9URAglFAKCNjRR8+NPSxiUHEtkyHq8pwYq1ugCeOkzh oQKSMpHrLWHaU+aNKX4wQWY= =7SY1 -----END PGP SIGNATURE-----
On Tuesday 13 September 2005 15:40, Carlos E. R. wrote:
The Tuesday 2005-09-13 at 13:47 -1000, Susemail wrote:
I'm using: ./configure make checkinstall
You are running "checkinstall" as root, I assume? I don't know if you do, because as I run the rest as user, I have to su to root just before calling checkinstall - actually, I use sudo. I don't see neither above.
-- Cheers, Carlos Robinson
Hello Carlos, I usually do the same but this time I ran everything as root. Jerome
participants (4)
-
Carlos E. R.
-
Chadley Wilson
-
Patrick Shanahan
-
Susemail