LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-06-2010, 10:03 PM   #1
ZeroDaHero
LQ Newbie
 
Registered: Jun 2007
Distribution: Slackware 13.1, Slackware64 13.1
Posts: 26

Rep: Reputation: Disabled
Gimp build from source libtool error makefile edit


Hello,
So I've been trying to get GIMP 2.7 installed on my Slackware64 13.0, but I'm having some issues. After some extensive finagling and dependence findings, I got it to configure correctly, however, the make fails with libtool trying to find libgdk_pixbuf-2.0.la:

libtool: link: cannot find the library `..//usr/lib64/pkgconfig/gdk-pixbuf/libgdk_pixbuf-2.0.la' or unhandled argument `..//usr/lib64/pkgconfig/gdk-pixbuf/libgdk_pixbuf-2.0.la'

libgdk_pixbuf-2.0.la is in /usr/lib64/pkgconfig/, but for whatever reason, editing the makefile doesn't change this. (Yes I have the right permissions to edit it). What gives? First of all, why is it searching for /usr in the top build directory, and second, why doesn't an edit of the makefile work?

Thanks!
 
Old 04-08-2010, 04:46 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
I have no solution for the expected issues,
but you may want to read this :
http://www.gimp.org/release-notes/gimp-2.7.html
GIMP 2.7 Release Notes
QUOTE : " This is an unstable development version of the GNU Image
Manipulation Program. Please realize that this is just a snapshot of
the development tree. We are working hard towards GIMP 2.8, the next
stable release. GIMP 2.7 is in no way a final product. A lot of new
features are incomplete and some things may even be completely broken.
If you need to get work done, please use the stable version, GIMP 2.6."
.....
 
Old 04-09-2010, 09:43 AM   #3
ZeroDaHero
LQ Newbie
 
Registered: Jun 2007
Distribution: Slackware 13.1, Slackware64 13.1
Posts: 26

Original Poster
Rep: Reputation: Disabled
Yep

You betcha. I forgot to mention that I'm having the same issue with GIMP 2.6.8. From Slack64 13.0, gimp 2.6.6. runs just fine.
 
Old 04-10-2010, 03:07 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
Gimp 2.6.8 .. Slackware 13 - 64

The following is done on a clean install, no dependencies added.
First thing to do : I will check the patching for 2.6.8 :
Debian Sid : none. Fedora 14 : yes
wget http://download.fedora.redhat.com/pu...6.fc14.src.rpm
sh unPack_rpm.sh gimp-2.6.8-6.fc14.src.rpm
Code:
bash-3.1# src2pkg -e="--sysconfdir=/etc" gimp-2.6.8.tar.bz2
Found source archive: gimp-2.6.8.tar.bz2
Creating working directories:
   PKG_DIR=/tmp/gimp-2.6.8-x86_64-1
   SRC_DIR=/tmp/gimp-2.6.8-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - Found
Applying: gimp-2.6.2-xdg-open.patch
Applying: gimp-2.6.6-minimize-dialogs.patch
Applying: gimp-2.6.7-jpeg-units.patch
Applying: gimp-2.6.8-4-automake.patch.bz2
Applying: gimp-2.6.8-gold.patch
Applying: gimp-2.6.8-gtk219.patch
Notice - '.am', '.ac' or '.in' config files were patched
Regenerating config files - Using: autoreconf -if Done!
Found configure script - Done
Configuring sources using:
 LDFLAGS="-Wl,-L/lib64,-L/usr/lib64" CFLAGS="-O2 -fPIC -m64" ./configure --prefix=/usr --libdir=/usr/lib64
Configuration has been - Successful!
Compiling sources - Using: 'make'
Compiling has been - Successful!
Checking for Makefile rule: 'install' Okay
Creating content in JAIL root - Using: 'make install'
Compiling has been - Successful!
Checking for Makefile rule: 'install' Okay
Creating content in JAIL root - Using: 'make install'
Safe content creation - Successful!
.
.
Creating package: gimp-2.6.8-x86_64-1.tgz - Done
Package Creation - Successful! Package Location:
/tmp/gimp-2.6.8-x86_64-1.tgz
Attached Files
File Type: txt unPack_rpm.sh.txt (530 Bytes, 12 views)
 
Old 04-11-2010, 09:07 AM   #5
ZeroDaHero
LQ Newbie
 
Registered: Jun 2007
Distribution: Slackware 13.1, Slackware64 13.1
Posts: 26

Original Poster
Rep: Reputation: Disabled
Hmmm, that's weird, I've never really dealt with rpms in Slack...are your just running those all through rpm2tgz?
 
Old 04-11-2010, 09:08 AM   #6
ZeroDaHero
LQ Newbie
 
Registered: Jun 2007
Distribution: Slackware 13.1, Slackware64 13.1
Posts: 26

Original Poster
Rep: Reputation: Disabled
ha, just kidding, I completely misread that...sorry!
 
Old 04-11-2010, 12:40 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,536

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
Actually it's no wrong idea to use rpm2targz with an
SRC RPM source code package.

'rpm2targz' does the rpm unpacking, and you get a
<package>.tar.gz with the source code, the patches,
and a spec file you can check for configure options.


The advantage of the unPack_rpm.sh script :
You don't forget to create a new directory.
 
  


Reply

Tags
gimp, libtool, make


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help compiling from source - libtool error Feeg Linux - Software 0 07-04-2006 11:16 PM
build error - can't find kernel source PickledHerring Linux - Newbie 1 11-15-2005 07:29 AM
Error when trying to build ay program from source. darkarcon2015 Slackware - Installation 1 12-22-2004 02:54 AM
build mozilla 1.7.3 from source error skedit Slackware 0 10-10-2004 12:28 AM
How must I edit a Makefile for another compiler??? Schmurff Fedora 3 09-28-2004 03:16 AM


All times are GMT -5. The time now is 02:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration