View previous topic :: View next topic |
Author |
Message |
aabragan n00b
Joined: 15 Jul 2002 Posts: 33 Location: Columbus,OH
|
Posted: Mon Jul 15, 2002 3:02 am Post subject: Error when trying to install dev-lang/php |
|
|
when i try and install php-4.2.1-r3 all the other dependencies installed but the libgd dependency that needs to be installed just before php is installed is crapping out with the following error during the make:
--trying to emerge gd-1.8.3-r5
In file included from gdxpm.c:20:
/usr/X11R6/include/X11/xpm.h:77: X11/Xlib.h: No such file or directory
/usr/X11R6/include/X11/xpm.h:78: X11/Xutil.h: No such file or directory
In file included from gdxpm.c:20:
/usr/X11R6/include/X11/xpm.h:154: parse error before `*'
/usr/X11R6/include/X11/xpm.h:164: parse error before `*'
/usr/X11R6/include/X11/xpm.h:176: parse error before `Visual'
/usr/X11R6/include/X11/xpm.h:176: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/xpm.h:177: warning: data definition has no type or storage class
/usr/X11R6/include/X11/xpm.h:208: parse error before `exactColors'
/usr/X11R6/include/X11/xpm.h:208: warning: data definition has no type or storage class
/usr/X11R6/include/X11/xpm.h:220: parse error before `alloc_close_colors'
/usr/X11R6/include/X11/xpm.h:220: warning: data definition has no type or storage class
/usr/X11R6/include/X11/xpm.h:232: parse error before `}'
/usr/X11R6/include/X11/xpm.h:232: warning: data definition has no type or storage class
/usr/X11R6/include/X11/xpm.h:314: parse error before `*'
/usr/X11R6/include/X11/xpm.h:321: parse error before `*'
/usr/X11R6/include/X11/xpm.h:327: parse error before `*'
/usr/X11R6/include/X11/xpm.h:334: parse error before `*'
/usr/X11R6/include/X11/xpm.h:341: parse error before `*'
/usr/X11R6/include/X11/xpm.h:347: parse error before `*'
/usr/X11R6/include/X11/xpm.h:353: parse error before `*'
/usr/X11R6/include/X11/xpm.h:359: parse error before `*'
/usr/X11R6/include/X11/xpm.h:365: parse error before `*'
/usr/X11R6/include/X11/xpm.h:371: parse error before `*'
/usr/X11R6/include/X11/xpm.h:378: parse error before `*'
/usr/X11R6/include/X11/xpm.h:384: parse error before `*'
/usr/X11R6/include/X11/xpm.h:397: parse error before `*'
/usr/X11R6/include/X11/xpm.h:415: parse error before `*'
/usr/X11R6/include/X11/xpm.h:422: parse error before `*'
/usr/X11R6/include/X11/xpm.h:428: parse error before `*'
/usr/X11R6/include/X11/xpm.h:434: parse error before `*'
make: *** [gdxpm.o] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 2, Exitcode 2
!!! (no error message)
!!! emerge aborting on /usr/portage/media-libs/libgd/libgd-1.8.3-r5.ebuild
not sure why this is happeneing and if there is any way to fix it. if anyone else has experienced the same problem and solved it can you please let me know.
thanks
aabragan |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Jul 15, 2002 3:09 am Post subject: |
|
|
1. Is x11-base/xfree installed?
2. Do you have a symlink from /usr/X11R6/include/X11 to /usr/include/X11? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
aabragan n00b
Joined: 15 Jul 2002 Posts: 33 Location: Columbus,OH
|
Posted: Mon Jul 15, 2002 4:15 am Post subject: the link worked |
|
|
a symlink from /usr/X11R6/include/X11 to /usr/include/X11 worked....
thanks |
|
Back to top |
|
|
aabragan n00b
Joined: 15 Jul 2002 Posts: 33 Location: Columbus,OH
|
Posted: Mon Jul 15, 2002 4:32 am Post subject: PHP install |
|
|
did you try installing php after making that link....
libgd installs correctly but php bails out
were there any other options or settings? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Jul 15, 2002 4:39 am Post subject: |
|
|
What's the error message this time? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
aabragan n00b
Joined: 15 Jul 2002 Posts: 33 Location: Columbus,OH
|
Posted: Mon Jul 15, 2002 4:59 am Post subject: error message |
|
|
main/.libs/libmain.al(internal_functions.lo)(.rodata+0xc): first defined here
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1'
make: *** [all-recursive] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 163, Exitcode 2
!!! compile problem
!!! emerge aborting on /usr/portage/dev-lang/php/php-4.2.1-r3.ebuild . |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Jul 15, 2002 5:17 am Post subject: |
|
|
I can't quite tell anything from the snippet you posted; might need a bit more of the error to hazard a guess. I do not have PHP installed anywhere here, and in fact it seems masked all together in my copy of packages.mask as of 3 July. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
aabragan n00b
Joined: 15 Jul 2002 Posts: 33 Location: Columbus,OH
|
Posted: Mon Jul 15, 2002 9:12 pm Post subject: error |
|
|
.....
libtool: link: warning: library `/usr/lib/libxmlparse.la' was moved.
libtool: link: warning: library `/usr/lib/libxmltok.la' was moved.
/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/ext/xslt/.libs/libxslt.al(sablot.lo)(.rodata+0x0): multiple definition of `SXPF_DISPOSE_NAMES'
main/.libs/libmain.al(internal_functions.lo)(.rodata+0x4): first defined here
/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/ext/xslt/.libs/libxslt.al(sablot.lo)(.rodata+0x4): multiple definition of `SXPF_DISPOSE_VALUES'
main/.libs/libmain.al(internal_functions.lo)(.rodata+0x8): first defined here
/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1/ext/xslt/.libs/libxslt.al(sablot.lo)(.rodata+0x8): multiple definition of `SXPF_SUPPORTS_UNPARSED_ENTITIES'
main/.libs/libmain.al(internal_functions.lo)(.rodata+0xc): first defined here
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/php-4.2.1-r3/work/php-4.2.1'
make: *** [all-recursive] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 163, Exitcode 2
!!! compile problem
!!! emerge aborting on /usr/portage/dev-lang/php/php-4.2.1-r3.ebuild . |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Mon Jul 15, 2002 9:29 pm Post subject: |
|
|
Don't use dev-lang/php. Wait a few hours and hopefully dev-php/mod_php will be unmasked.
We will see what we can do to help you then. _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
aabragan n00b
Joined: 15 Jul 2002 Posts: 33 Location: Columbus,OH
|
Posted: Mon Jul 15, 2002 9:33 pm Post subject: whats the difference? |
|
|
pardon my ignorance but what is the difference between dev-lang/php , dev-php/php and dev-php/mod_php |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Mon Jul 15, 2002 9:37 pm Post subject: Re: whats the difference? |
|
|
aabragan wrote: | pardon my ignorance but what is the difference between dev-lang/php , dev-php/php and dev-php/mod_php |
Dev-lang is the old category. The php ebuilds in there will be gone soon. PHP is moving to its new home, left some stuff behing. _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
aabragan n00b
Joined: 15 Jul 2002 Posts: 33 Location: Columbus,OH
|
Posted: Mon Jul 15, 2002 9:44 pm Post subject: got it |
|
|
ok i guess i will wait till tonight or tomorrow to do the install
should i do an emerge --clean rsync before starting... |
|
Back to top |
|
|
aabragan n00b
Joined: 15 Jul 2002 Posts: 33 Location: Columbus,OH
|
Posted: Mon Jul 15, 2002 9:57 pm Post subject: new php home |
|
|
once we migrate to the new php home which of the 3 mentioned above will need to be emerged in order to have an up and running version of php on my system |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Mon Jul 15, 2002 11:56 pm Post subject: Re: new php home |
|
|
aabragan wrote: | should i do an emerge --clean rsync before starting... |
I doubt think the dev-lang/php ebuilds will get deleted tonight, so it wouldn't really matter, but emege --clean rsync can't hurt.
aabragan wrote: | once we migrate to the new php home which of the 3 mentioned above will need to be emerged in order to have an up and running version of php on my system |
Just to be safe do: Code: | emerge dev-php/mod_php |
_________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
|