configure.pl & make issue

sd <[email protected]> Sat, 1 May 2004 19:23:50 -0600
Newsgroups gmane.comp.web.picfolio.user
Message-ID <[email protected]>
Hello Peter, all--

I just upgraded my computer to FreeBSD 5.2.1 and downloaded 
and unpacked picfolio-0.3.1.tar.gz

The ./configure.pl script works without error:

--- begin quote of commandline text ---
bash-2.05b$ ./configure.pl
    
     ____  _       __       _ _
    |  _ \(_) ___ / _| ___ | (_) ___
    | |_) | |/ __| |_ / _ \| | |/ _ \
    |  __/| | (__|  _| (_) | | | (_) |
    |_|   |_|\___|_|  \___/|_|_|\___/
    
    
Checking for xmlwrapp ...
Checking for libxslt version ... 1.1.6 >= 1.0.23
Finding XML include directory ... /usr/local/include/libxml2
Finding XML libraries ... done
Creating xmlwrapp-config script ... 
Creating xmlwrapp Makefiles .... done 
Found xmlwrapp version 0.4.4
Checking for sord ...
Checking for readdir_r... yes
Creating Makefile in src...
Creating Makefile...
Found sord version 0.4.1
Checking for hurl ...
Creating hurl-config script ... 
Creating hurl Makefiles ..
Found hurl version 0.2.1
Checking for libexif ...
Found libexif 0.5.12
Checking for imlib2 ...
Found imlib2 1.1.0
Creating picfolio Makefiles ....

Supported Image Types: Everything supported by Imlib2
       EXIF Supported: Yes

+---------------------------------------------------------------+
|  Join the announcement mailing list for release annoucements  |
|      http://pmade.org/software/picfolio/resources.html        |
|                                                               |
|      Join the users mailing list for help with Picfolio       |
|       and to post a link to your Picfolio photo gallery       |
|       http://pmade.org/software/picfolio/resources.html       |
|                                                               |
|    Download custom stylesheets from the Picfolio website      |
|             http://pmade.org/software/picfolio/               |
+---------------------------------------------------------------+
--- end quote of commandline text ---


but the make command produces this output (the "make" output 
before the part that pertains to the error has been deleted for 
brevity):


--- begin quote of commandline text ---
g++ -o picfolio   options.o picfolio.o -L/usr/local/lib 
-L/usr/local/lib -L/usr/local/lib -L/usr/local/lib 
-L/usr/local/lib -L/usr/local/lib 
-L/usr/local/lib /usr/X11R6/bin/imlib2-config: -L/usr/local/lib: 
not found -L/usr/local/lib -L/usr/X11R6/lib 
'/home/xscd/documents/downloads/picfolio-0.3.1/src/library/libpicfolio.a' 
'/home/xscd/documents/downloads/picfolio-0.3.1/src/contrib/xmlwrapp/src/libxslt/libxsltwrapp.a' 
'/home/xscd/documents/downloads/picfolio-0.3.1/src/contrib/xmlwrapp/src/libxml/libxmlwrapp.a' 
'/home/xscd/documents/downloads/picfolio-0.3.1/src/contrib/sord/src/libsord.a' 
'/home/xscd/documents/downloads/picfolio-0.3.1/src/contrib/hurl/src/libhurl.a' 
-lxslt -lexslt -lxml2 -lz -liconv -lm -lexif -lm -lImlib2 
-lfreetype -lz -lm -lXext -lXext -lX11 
g++: /usr/X11R6/bin/imlib2-config:: No such file or directory
g++: not: No such file or directory
g++: found: No such file or directory
*** Error code 1

Stop in /home/xscd/documents/downloads/picfolio-0.3.1/src/cmdline.
*** Error code 1

Stop in /home/xscd/documents/downloads/picfolio-0.3.1/src.
*** Error code 1

Stop in /home/xscd/documents/downloads/picfolio-0.3.1.


--- end quote of commandline text ---


here is the output of "which imlib2-config" --

bash-2.05b$ which imlib2-config
/usr/X11R6/bin/imlib2-config
bash-2.05b$ 

Would a simple edit of the configure.pl or one of the Makefiles
solve this issue?

Hope the year is going well for everyone. Best wishes,

Steve D
New Mexico, US

-- 
----------------------------------------------------------------
A government big enough to give you everything you want is a 
government big enough to take from you everything you have.
-Gerald R. Ford
----------------------------------------------------------------