LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't configure Gimp 2.2.1 (https://www.linuxquestions.org/questions/linux-software-2/cant-configure-gimp-2-2-1-a-274427/)

zwyrbla 01-05-2005 09:51 PM

Can't configure Gimp 2.2.1
 
i currently have the gimp 2.2 running on slackware 10. when i try to ./configure the new gimp 2.2.1 source i get this error message.

checking for GIMP-PRINT - version >= 4.2.0...
*** 'gimpprint-config --version' returned 4.2.7, but GIMP-PRINT (4.2.6)
*** was found! If gimpprint-config was correct, then it is best
*** to remove the old version of GIMP-PRINT. You may also be able to fix the
*** error by modifying your LD_LIBRARY_PATH enviroment variable, or by
*** editing /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If gimpprint-config was wrong, set the environment variable GIMPPRINT_CONFIG
*** to point to the correct copy of gimpprint-config, and remove the file
*** config.cache before re-running configure
no
configure: error:
*** Check for libgimpprint failed. You can download it from
*** http://gimp-print.sourceforge.net/ or you can build without it by passing
*** --disable-print to configure (but you won't be able to print then).

now i know i have 4.2.7 of gimp-print installed but i ahve no idea where 4.2.6 would be to remove it and i also dont know what it means for any other way to fix it. any help would be great.

__J 01-06-2005 06:00 AM

slack 10 comes with 4.2.6 by default.
did you replace it without removing the old one (perhaps installing the 4.2.7 version in /usr/local)?

to remove the original 4.2.6 first make sure you have it:

ls /var/log/packages | grep gimp

if the following comes up:
gimp-print-4.2.6-i486-1

then the old one is still installed

remove it with:

(as root)
removepkg /var/log/packages/gimp-print-4.2.6-i486-1

zwyrbla 01-06-2005 01:44 PM

alright now i uninstalled it but i get this error.

*** Could not run GIMP-PRINT test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GIMP-PRINT or finding the wrong
*** version of GIMP-PRINT. If it is not finding GIMP-PRINT, you'll need to set
*** your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error:
*** Check for libgimpprint failed. You can download it from
*** http://gimp-print.sourceforge.net/ or you can build without it by passing
*** --disable-print to configure (but you won't be able to print then).
zwyrbla@desktop:~/gimp-2.2.1$

im guessing i jsut need to point somehting to wherethe enw gimp rpint is installed to but what and how do i do it.

__J 01-06-2005 02:52 PM

did you install 4.2.7 and and if you did how did you do it? (was it just a ./configure, make, make install)?

zwyrbla 01-06-2005 08:50 PM

yeah nothing special regular install from source

__J 01-07-2005 05:19 AM

make sure everything is in /usr/local/ then. you should have a gimpprint-config file in /usr/local/bin, and the libs in /usr/local/lib. also make sure there isn't a gimpprint-config in /usr/bin (if it finds that instead of the one in /usr/local/bin ./configure will bail from version mismatch)

did you run ldconfig after installing 4.2.7? do so if you did not.

if it still won't go, you have two options.

1) remove the 4.2.7 version from /usr/local and reinstall it in /usr or
2) set LD_LIBRARY_PATH to /usr/local/lib first so we know the linker will pick that one up instead of a lib in /usr/lib like this:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

(note however if there are still gimp-print-4.2.6 libraries installed in /usr/lib then you will have run-time errors)

so I would recommend uninstalling the 4.2.7 version out of /usr/local and recompile it into /usr (install it with checkinstall so it is easily removeable).

zwyrbla 01-07-2005 09:47 PM

thanks bunches this is exactly what i needed.


All times are GMT -5. The time now is 07:43 AM.