I would be interested if you can make that work.
I assume you want to build a relocatable package.

Try specifying the LD_LIBRARY_PATH before executing httpd to include the
target directories where the APR and APR-util libraries get installed.
I tried something similar, but it did not work. For some reason my httpd
executable gets a run path (embedded in the executable) with the
/usr/lib64 in the middle of the APR and APR-util paths. If you are
building in a 32-bit environment you may not have that problem.



-----Original Message-----
From: Vijaykumar Borkar [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 03, 2008 1:45 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] RPM build error: File not found:
/usr/local/apr-util-httpd/lib/libexpat.a

Hi All,
I am trying to build a rpm from Apache 2.2.9 source and encountering the
error:

error: File not found:
/home/vjkumar/apachews/apache_new/dist/BUILD/apache-root/usr/local/apr-u
til-httpd/lib/libexpat.a


RPM build errors:
    File not found:
/home/vjkumar/apachews/apache_new/dist/BUILD/apache-root/usr/local/apr-u
til-httpd/lib/libexpat.a
make: *** [rpm] Error 1

The make for httpd-2.2.9/srclib/apr, httpd-2.2.9/srclib/apr-util
and httpd-2.2.9/ are successful.

My rpmbuild command in Makefile is
rpmbuild --define "_topdir ${RPM_TOP_DIR}" \
                --bb ${PACKAGE_NAME}.spec

Thanking you in advance

~VJ

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to