Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
imlib --prefix=/usr ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
enesideme
n00b
n00b


Joined: 20 Apr 2002
Posts: 46
Location: france

PostPosted: Sun May 26, 2002 10:08 pm    Post subject: imlib --prefix=/usr ? Reply with quote

I've compiled gentoo with gcc3.1 and almost all kde but cannot build imlib. Imlib cannot check jpeglib.h. So I uncompressed the sources and then: cc=gcc CFLAGS='-mcpu=i686 -03 -pipe' ./configure and it's ok.No problem to build it. But when I add --prefix=/usr (default=/usr/local) I get the same error message: "checking for jpeglib.h no"
Could someone explain to me why I cannot set the path --prefix=/usr
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Tue May 28, 2002 9:22 am    Post subject: Reply with quote

problem is that cpp 3.1 gives a warning when you add -I/usr/include so you should edit the configure file (line 7368) and change CPPFLAGS=$CPPFLAGS -I$includedir -I$prefix/include .. to CPPFLAGS=$CPPFLAGS .. (so remove every instance of /usr/include that's the $includedir and -I/prefix/include and configure works fine. I then used ebuild too compile install and merge the package. When a new version of imlib is realised it will probably contain a fix.

Hope it helps,Alex

replied on the same topic:
gcc3 env: imlib build breaks at configure (jpeglib.h etc)
http://forums.gentoo.org/viewtopic.php?t=3393&highlight=gcc
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum