Adventures in unix builds.

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
nemo

Adventures in unix builds.

Post by nemo » Wed Feb 23, 2005 10:47 am

I was thoughtfully provided with 4.1.1 source by the support staff here, so I thought I'd document issues as I work through 'em.
/bin/sh: line 1: apr-1-config: command not found
/bin/sh: line 1: apu-1-config: command not found
In file included from libsgdcore_diff3_alg.c:7:
libsgdcore.h:20:17: apr.h: No such file or directory
libsgdcore.h:21:23: apr_pools.h: No such file or directory
libsgdcore.h:22:25: apr_file_io.h: No such file or directory


Hm. Looks like configure doesn't catch a dependency on:
[MN] dev-libs/apr-util (0.9.5): Apache Portable Runtime Library
[MN] dev-libs/apr (0.9.2): Apache's Portable Runtime Library.

Nor was any mentioned in the README or INSTALL.
(The M is for Masked in portage - mask is due to disappear in a few days, so I went ahead and installed 'em anyway).
http://bugs.gentoo.org/show_bug.cgi?id=76457

After that, apr-1-config and apu-1-config still didn't exist, so changed to apr-config and apu-config in the libs/sgdcore/Makefile and Gtk/src/Makefile

nemo

hm

Post by nemo » Wed Feb 23, 2005 10:59 am

Concerned about this -0- vs -1- thing with apr.
Apache project likes to do wildly different things between releases.
Guess I'll have to look into it.

For now, changing Gtk/src/Makefile to also use /usr/lib/libapr*-0.a instead of /usr/local/apr/lib/libapr*-1.a

nemo

success?

Post by nemo » Wed Feb 23, 2005 11:13 am

Well, looks like it is working. No crashing, can check stuff in and out.
I suppose I can add the changes I made to the ebuild.

The static linking seems rather unnecessary. Perhaps it was a side-effect of binary package creation?
Might change to dynamic if I create an official ebuild.

Post Reply