View previous topic :: View next topic |
Author |
Message |
enesideme n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Apr 2002 Posts: 46 Location: france
|
Posted: Sun May 26, 2002 10:08 pm Post subject: imlib --prefix=/usr ? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
lx Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/3e83a3b53cf36f6da849c.jpg)
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Tue May 28, 2002 9:22 am Post subject: |
|
|
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)
https://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 |
|
![](templates/gentoo/images/spacer.gif) |
|