DelphiFAQ Home Search:

Compiling apache 2 on FreeBSD 6

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

Question:

I need to install apache2 on my BSD box (FreeBSD 6.2) and when I compile using [@make@], it throws this error message:

/usr/local/directadmin/custombuild/httpd-2.2.6/srclib/apr/libapr-1.la -lcrypt -lpthread
/usr/bin/ld: cannot find -lexpat
*** Error code 1

How can I find this expat library?

Answer:

Use the built-in expat functionality. Run make clean and then start over with this switch in the configure statement:

./configure --with-expat=builtin

Afterwards simply run make and make install and you will have no problems.


Comments:

 

 

Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option.
 
It seems that you are
from Washington, US .

Info/ Feedback on this

Show city and country
Show country only
Hide my location
Leave your comment here:
Please type in the code:
photo Add a picture:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity. The owner of this web site reserves the right to delete such material.