Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1850 - php fails to build
Summary: php fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-16 15:10 UTC by Ian Smith
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Smith 2002-04-16 15:10:25 UTC
Don't know is this is a blackdown problem . . .
/usr/portage/dev-java/blackdown-jdk/blackdown-jdk-1.3.1-r4.ebuild        (installed)

checking for Java support... find: /include: No such file or directory
no
configure: error: unable to find Java VM libraries

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 78, Exitcode 1
!!! bad ./configure

!!! emerge aborting on  /usr/portage/dev-lang/php/php-4.1.2-r7.ebuild .
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-04-16 20:22:21 UTC
This is confirmed.  The bash variable in the shell doesn't get passed down to
all the spawn calls within portage.  

However, this works:
JDK_HOME=/opt/blackdown-jdk-1.3.1 ebuild php-4.1.2-r7.ebuild compile

portage version 1.9.1
Comment 2 Ryan Phillips (RETIRED) gentoo-dev 2002-04-16 21:04:50 UTC
nevermind on comment #1, this seems to be an environment issue with blackdown-jdk
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-16 21:48:04 UTC
matt,

The last php issue was my fault.  This one I know nothing about.  But you and
karltk are the two java people.  I thought you might like a first crack at it?
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-04-16 21:55:33 UTC
trolocsis,

take care of this :)
Comment 5 Ryan Phillips (RETIRED) gentoo-dev 2002-04-16 22:31:17 UTC
FIX:

in portage/blackdown-jdk/files/blackdown-jdk-1.3.1
remove the ROOTPATH from ENV_VARS
Comment 6 Ryan Phillips (RETIRED) gentoo-dev 2002-04-16 23:21:13 UTC
after merging blackdown, double check the environment variable with set|more and
make sure the JAVA variables are setup.  if not source /etc/profile.  this
should fix the problem.