1 |
Thanks everybody for all the suggestions. OK, I tried: |
2 |
|
3 |
# emerge 'dev-lang/php-4*' mysql apache |
4 |
|
5 |
whith the following in my /etc/portage/package.use |
6 |
|
7 |
=dev-lang/php-4* -adabas -apache apache2 bcmath berkdb birdstep bzip2 |
8 |
calendar cdb cgi cjk -cli crypt ctype curl -db2 dba -dbase -dbmaker -dbx |
9 |
debug discard-path doc empress empress-bcs esoob exif expat -fastbuild |
10 |
-fdftk filepro firebird flatfile force-cgi-redirect -frontbase ftp gd |
11 |
-gd-external gdbm gmp hardenedphp -hyperwave-api iconv imap -informix |
12 |
inifile -interbase odbc ipv6 -java-external -java-internal kerberos ldap |
13 |
-libedit mcal mcve memlimit mhash ming -mnogosearch -msql -mssql mysql |
14 |
ncurses nls -oci8 -oci8-instant-client odbc -oracle7 overload -ovrimos |
15 |
pecl pcntl pcre -pfpro pic posix -postgres readline -recode -sapdb |
16 |
session sharedext sharedmem snmp sockets solid spell -sqlite ssl -sybase |
17 |
-sybase-ct sysvipc -threads tiff tokenizer truetype wddx xml xmlrpc xpm |
18 |
xsl yaz zip zlib |
19 |
=dev-db/mysql-4* berkdb big-tables cluster debug doc extraengine |
20 |
geometry perl readline ssl tcpd utf8 |
21 |
=net-www/apache-2.0.5* apache2 debug doc ldap mpm-prefork no-suexec ssl |
22 |
threads |
23 |
|
24 |
|
25 |
The compile bombs here: |
26 |
|
27 |
---------------------------------------------------------------------- |
28 |
/bin/sh /var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/libtool |
29 |
--preserve-dup-deps --mode=compile gcc -I/usr/local/solid/include |
30 |
-Iext/odbc/ -I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/ |
31 |
-DPHP_ATOM_INC -I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/include |
32 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/main |
33 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1 -I/usr/include/libxml2 |
34 |
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap |
35 |
-I/usr/interbase/include |
36 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/mbstring/mbregex |
37 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/mbstring/libmbfl |
38 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/mbstring/libmbfl/mbfl |
39 |
-I/usr/include/mcal -I/usr/include/mysql -I/usr/include/pspell |
40 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/xml/expat |
41 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/TSRM |
42 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/Zend -O2 |
43 |
-march=pentium4 -g -Wall -prefer-pic -c |
44 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c -o |
45 |
ext/odbc/php_odbc.lo |
46 |
mkdir ext/odbc/.libs |
47 |
gcc -I/usr/local/solid/include -Iext/odbc/ |
48 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/ -DPHP_ATOM_INC |
49 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/include |
50 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/main |
51 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1 -I/usr/include/libxml2 |
52 |
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap |
53 |
-I/usr/interbase/include |
54 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/mbstring/mbregex |
55 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/mbstring/libmbfl |
56 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/mbstring/libmbfl/mbfl |
57 |
-I/usr/include/mcal -I/usr/include/mysql -I/usr/include/pspell |
58 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/xml/expat |
59 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/TSRM |
60 |
-I/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/Zend -O2 -march=pentium4 |
61 |
-g -Wall -c |
62 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c -fPIC |
63 |
-DPIC -o ext/odbc/.libs/php_odbc.o |
64 |
In file included from |
65 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:37: |
66 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc_includes.h:185:21: |
67 |
WINDOWS.H: No such file or directory |
68 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c: In |
69 |
function `zif_odbc_execute': |
70 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:977: |
71 |
warning: dereferencing type-punned pointer will break strict-aliasing rules |
72 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c: In |
73 |
function `odbc_do_connect': |
74 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:2212: |
75 |
error: `ODBC_TYPE' undeclared (first use in this function) |
76 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:2212: |
77 |
error: (Each undeclared identifier is reported only once |
78 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:2212: |
79 |
error: for each function it appears in.) |
80 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:2226: |
81 |
warning: dereferencing type-punned pointer will break strict-aliasing rules |
82 |
/var/tmp/portage/php-4.4.1-r3/work/php-4.4.1/ext/odbc/php_odbc.c:2296: |
83 |
warning: dereferencing type-punned pointer will break strict-aliasing rules |
84 |
make: *** [ext/odbc/php_odbc.lo] Error 1 |
85 |
|
86 |
!!! ERROR: dev-lang/php-4.4.1-r3 failed. |
87 |
!!! Function php4_4-sapi_src_compile, Line 517, Exitcode 2 |
88 |
!!! make failed |
89 |
!!! If you need support, post the topmost build error, NOT this status |
90 |
message. |
91 |
|
92 |
Any thoughts anyone? |
93 |
|
94 |
Thanks again, |
95 |
RV |
96 |
|
97 |
>On 09/02/06, LYL <lyl+gentoo@××××.com> wrote: |
98 |
> |
99 |
> |
100 |
>>dev-lang/php is php v5.0 up, while dev-php/php is php4 |
101 |
>> |
102 |
>> |
103 |
>> |
104 |
> |
105 |
>That's not correct. Just to make it perfectly clear - *anyone* who is |
106 |
>currently using dev-php/{php,mod_php} in any shape or form should |
107 |
>migrate to dev-lang/php as soon as possible The former ebuilds are |
108 |
>emphatically dead and *completely* unsupported and will eventually |
109 |
>disappear from the portage tree! Indeed, other packages marked stable |
110 |
>will assume the usage of dev-lang/php. Almost anything to do with PEAR |
111 |
>uses a revision of the php-pear eclass which depends on dev-lang/php |
112 |
>for example. |
113 |
> |
114 |
>However, as Christopher remarked earlier in the thread, it is |
115 |
>necessary to mask out php-5 if you want to stick with php-4 (for the |
116 |
>simple reason that php-5 is marked stable). |
117 |
> |
118 |
>Further reading: |
119 |
> |
120 |
>http://tinyurl.com/9qwy7 |
121 |
>http://www.gentoo.org/proj/en/php/php-upgrading.xml |
122 |
>http://www.gentoo.org/proj/en/php |
123 |
> |
124 |
>I'd also suggest reading |
125 |
>http://svn.gnqs.org/projects/gentoo-php-overlay/wiki/CommonQuestions#DoYouRecommendAnyUSEFlags. |
126 |
> |
127 |
>Further questions are best directed towards the #gentoo-php channel on freenode. |
128 |
> |
129 |
>Cheers, |
130 |
> |
131 |
>--Kerin |
132 |
> |
133 |
> |
134 |
> |
135 |
|
136 |
-- |
137 |
gentoo-server@g.o mailing list |