Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge mod_php not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kilrathi
n00b
n00b


Joined: 21 Nov 2002
Posts: 16
Location: Arkansas

PostPosted: Sun Dec 15, 2002 12:34 am    Post subject: emerge mod_php not working Reply with quote

I hope this is the correct forums to post this in.

I've been trying to install the mod_php package for some time now. If i do a manual install it works just fine, but i'ld like to use the package to install it.

When i type:
emerge -p mod_php
i get:

Code:

These are the packages that i would merge, in order.

Calculating dependencies ...done!
[ebuild  N  ] dev-php/mod_php-4.2.3



When i try emerge mod_php i get:
Code:

configure: error:
PDFlib extension requires at least pdflib 3.x. You may also need libtiff, libjpeg, libpng, and libz.
Use the options --with-tiff-dir=<DIR>, --with-jpeg-dir=<DIR>, --with-png-dir=<DIR>
See config.log for more information.

!!! ERROR: dev-php/mod_php-4.2.3 failed.
!!! Function src_compile, Line 191, Exitcode 1
!!! bad ./configure



I've installed the the libpng, pdflib, tiff, and jpeg packages from media-libs

If any of these aren't present, shouldn't they be listed as a dependency anyways? Do i have to install libz? Why isn't it listed as a dependency? Where is it in the portage directory?

Any help is much appreciated.

Also on a quick side note. When i type emerge -p opera i get a message:
all ebuilds that could satisfy "opera" have been masked

Then directly below it another message says:

emerge: there are no masked or unmasked ebuilds to satisfy "opera"
Error calculating dependancies. Please correct.


How do i fix this?

Thanks again.
_________________
"If they take away our guns, can we use swords?"
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Dec 15, 2002 12:55 am    Post subject: Reply with quote

Unless you're absolutely sold on pdflib in php, it causes problems. Try:
Code:
# USE="-pdflib" emerge mod_php
...and search the forums for "mod_php and pdflib" for more background.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
nrosier
n00b
n00b


Joined: 06 Jul 2002
Posts: 43
Location: Belgium

PostPosted: Sun Dec 15, 2002 11:27 pm    Post subject: Reply with quote

Just do:

export LDFLAGS='-lpng'

In my case, it failed with png dependencies... guessing you have the same problem.

N.
Back to top
View user's profile Send private message
ir_i_s_h
n00b
n00b


Joined: 16 Dec 2002
Posts: 5

PostPosted: Mon Dec 16, 2002 4:37 pm    Post subject: Reply with quote

I had to do the same with

USE="-pdflib" emerge mod_php
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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