[csw-maintainers] serf - how to correctly depend on libapr ?
Mike Watters
mwatters at opencsw.org
Sun May 17 03:41:11 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
rupert THURNER wrote:
> i tried to create a package for libserf, which should replace libneon
> in future, as it is able to multithread subversion calls to a server.
>
> as there is no libapr, i tried to depend on apache2 by:
>
> CONFIGURE_ARGS = $(DIRPATHS)
> CONFIGURE_ARGS += --with-apr=$(prefix)/apache2
> CONFIGURE_ARGS += --with-apr-util=$(prefix)/apache2
> #CONFIGURE_ARGS += --with-apr=$(prefix)/apache2/bin/apr-config
> #CONFIGURE_ARGS += --with-apr-util=$(prefix)/apache2/bin/apu-config
>
> (see also: https://apps.sourceforge.net/trac/gar/browser/csw/mgar/pkg/libserf/trunk/Makefile
> )
>
> but, for some reason, /opt/csw/bdb44/lib makes it into the compile,
> and not /opt/csw/apache2/lib.
>
> what can this be?
libapr is part of the apache build.
the --with-apr and --with-apr-util configure args typically point to the
apr-config and apu-config files.
are you building on the build farm or your own server?
To build against apr you need to have the following installed:
application CSWapache2-devel apache2_devel - Apache 2.2 development support
application CSWapache2rt apache2rt - Apache 2.2 runtime libraries
and then you will need to create a dependency on apache2rt.
- --
Thanks,
Mike
"Any intelligent fool can make things bigger, more complex,
and more violent. It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."
* Albert Einstein 1879 - 1955
US German-born Theoretical Physicist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkoPazcACgkQLrhmsXMSLxffMwCgoXG0LKtkJcnU7jOCCe+ya0GB
0XcAnjXh6XguwTp4jEYq+agwtnGYfJHE
=BKmv
-----END PGP SIGNATURE-----
More information about the maintainers
mailing list