[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sparc64 ports woes php - mysql
I have been trying this for a week and a half now but without any
measurable success.
I also went back to iconv 1.7 but with the same results. I am about to
start digging in the code to figure out what really goes wrong. I'll
keep you posted on it.
It did successfully compile and execute on i386.
/marco
> -----Original Message-----
> From: owner-ports@openbsd.org
> [mailto:owner-ports@openbsd.org] On Behalf Of S9
> Sent: Saturday, February 01, 2003 14:45
> To: ports@openbsd.org
> Subject: sparc64 ports woes php - mysql
>
>
> Problem trying to get apahce up with php/mysql/gd.
>
> I've made it around the mysql port being broken
> and compiled from source successfully, but have
> been beating my head on the iconv issues in the
> php4 sparc64 port. I saw the posts earlier about
> similar issues on alpha, but haven't seen any diffs
> to -current for libiconv-1.8. Any suggestions or faqs
> or pointers are greatly appreciated, as I'm on my last
> legs on this one. Dmesgs at the bottom.
> I'm glad to help if the maintainers need testing/legwork
> on any of these issues....
>
>
> -Karsten
>
>
> libiconv-1.8 from packages, followed by gettext then gmake
> from packages. php4-core-4.2.3 from packages php4-pear-4.2.3
> from packages
>
> -----------------------------------------
> alpha [/usr/ports/www/php4/extensions]#env FLAVOR="no_xll
> no_bz2 no_dba no_dbase no_domxml no_filepro no_gmp no_ldap
> no_mcrypt no_mhash no_ncurses no_odbc no_pgsql no_shmop
> no_snmp no_sybase_ct no_xml no_xslt" make ===> Building for
> php4-extensions-4.2.3 Making all in ext Making all in zlib
> Making all in ctype Making all in curl Making all in gd
> Making all in iconv /bin/sh
> /usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_db
> a-no_dbase-no_
> domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-no_ncurses
> -no_odbc-no_pg
> sql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php-4.2.3/lib
> tool --silent
> --mode=compile
> cc -I.
> -I/usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_dba-no
> _dbase-no_domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-
> no_ncurses-no_
> odbc-no_pgsql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php
> -4.2.3/ext/ico
> nv
> -I/usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_
> dba-no_dbas
> e-no_domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-no_nc
> urses-no_odbc-
> no_pgsql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php-4.2.
> 3/main -I/usr/
> ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_dba-no_
> dbase-no_domxm
> l-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-no_ncurses-no_o
> dbc-no_pgsql-n
> o_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php-4.2.3
> -I/usr/lib/apache/incl ude
> -I/usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_
> dba-no_dba
> se-no_domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-no_n
> curses-no_odbc
> -no_pgsql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php-4.2
> .3/Zend -I/usr /local/include -I/usr/local/include/freetype
> -I/usr/local/include/c-client - I/usr/local/include/mysql
> -DDEV_RANDOM=/dev/arandom -DMOD_SSL=208110 -DEAPI
> -DUSE_EXPAT
> -I/usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_d
> ba-no_dbase-no_domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_m
> hash-no_ncurse
> s-no_odbc-no_pgsql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xsl
> t/php-4.2.3/TS
> RM -O2 -I/usr/local/include -c iconv.c
> iconv.c:142: conflicting types for `php_iconv_string'
> iconv.c:90: previous declaration of `php_iconv_string'
> iconv.c: In function `php_iconv_string':
> iconv.c:179: warning: passing arg 2 of `libiconv' from
> incompatible pointer type
> iconv.c:179: warning: passing arg 3 of `libiconv' from
> incompatible pointer type
> iconv.c:179: warning: passing arg 5 of `libiconv' from
> incompatible pointer type
> iconv.c: In function `php_if_iconv':
> iconv.c:294: warning: passing arg 4 of `php_iconv_string'
> from incompatible pointer type
> iconv.c: In function `zif_ob_iconv_handler':
> iconv.c:323: warning: passing arg 4 of `php_iconv_string'
> from incompatible pointer type
> *** Error code 1
>
> Stop in
> /usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_db
> a-no_dbase-no_
> domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-no_ncurses
> -no_odbc-no_pg
> sql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php-4.2.3/ext/iconv.
> *** Error code 1
>
> Stop in
> /usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_db
> a-no_dbase-no_
> domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-no_ncurses
> -no_odbc-no_pg
> sql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php-4.2.3/ext
> /iconv (line 37 of
> /usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_db
> a-no_dbase-no_
> domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-no_ncurses
> -no_odbc-no_pg
> sql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php-4.2.3/bui
> ld/rules.mk).
> *** Error code 1
>
> Stop in
> /usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_db
> a-no_dbase-no_
> domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-no_ncurses
> -no_odbc-no_pg
> sql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php-4.2.3/ext
> (line 37 of
> /usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_db
> a-no_dbase-no_
> domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-no_ncurses
> -no_odbc-no_pg
> sql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php-4.2.3/bui
> ld/rules.mk).
> *** Error code 1
>
> Stop in
> /usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_db
> a-no_dbase-no_
> domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-no_ncurses
> -no_odbc-no_pg
> sql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php-4.2.3
> (line 37 of
> /usr/ports/www/php4/extensions/w-php-4.2.3-no_x11-no_bz2-no_db
> a-no_dbase-no_
> domxml-no_filepro-no_gmp-no_ldap-no_mcrypt-no_mhash-no_ncurses
> -no_odbc-no_pg
> sql-no_shmop-no_snmp-no_sybase_ct-no_xml-no_xslt/php-4.2.3/bui
> ld/rules.mk).
> *** Error code 1
>
> Stop in /usr/ports/www/php4/extensions (line 1749 of
> /usr/ports/infrastructure/mk/bsd.port.mk).
>
> ----------------------------------------------
> alpha [/usr/ports/www/php4/extensions]# uname -a; dmesg
> OpenBSD alpha.frendfds 3.2 GENERIC#8 sparc64
> console is /sbus@1f,0/zs@f,1100000:a
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All
> rights reserved. Copyright (c) 1995-2002 OpenBSD. All rights
> reserved. http://www.OpenBSD.org
>
> OpenBSD 3.2 (GENERIC) #8: Thu Oct 3 20:00:17 MDT 2002
>
> deraadt@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
> total memory = 268435456
> avail memory = 240615424
> using 1638 buffers containing 13418496 of memory
> bootpath: /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0
> mainbus0 (root): SUNW,Ultra-2
> cpu0 at mainbus0: SUNW,UltraSPARC-II @ 296.001 MHz, version 0 FPU
> cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l),
> 2048K external (64 b/l) timer0 at mainbus0 addr 0xfffc3c00
> irq vectors 7f0 and 7f1 sbus0 at mainbus0 addr 0xfffc8000:
> clock = 25 MHz
> IOTDB: f66000 to f68000
> audiocs0 at sbus0 slot 13 offset 0xc000000 vector 24 ipl 13
> audio0 at audiocs0 auxio0 at sbus0 slot 15 offset 0x1900000
> flashprom at sbus0 slot 15 offset 0x0 not configured
> SUNW,fdtwo at sbus0 slot 15 offset 0x1400000 vector 29 ipl 11
> not configured clock0 at sbus0 slot 15 offset 0x1200000:
> mk48t59: hostid 808fd3f4 zs0 at sbus0 slot 15 offset
> 0x1100000 vector 28 ipl 12 softpri 6 zstty0 at zs0 channel 0
> (console i/o) zstty1 at zs0 channel 1 zs1 at sbus0 slot 15
> offset 0x1000000 vector 28 ipl 12 softpri 6 zskbd0 at zs1
> channel 0 wskbd0 at zskbd0 zstty2 at zs1 channel 1, mouse
> uperf0 at sbus0 slot 15 offset 0x1300000: model SUNW,sc-mp
> (0/3) ports 4 SUNW,pll at sbus0 slot 15 offset 0x1304000 not
> configured esp0 at sbus0 slot 14 offset 0x8800000 vector 20
> ipl 3: dma rev fas
> esp0: FAS366/HME, 40MHz, SCSI ID 7
> scsibus0 at esp0: 8 targets
> sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST34371W SUN4.2G,
> 7462> SCSI2 0/direct fixed
> sd0: 4094MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sec,
> 8385121 sec total sd1 at scsibus0 targ 1 lun 0: <SEAGATE,
> ST34371W SUN4.2G, 7462> SCSI2 0/direct fixed
> sd1: 4094MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sec,
> 8385121 sec total cd0 at scsibus0 targ 6 lun 0: <TOSHIBA,
> XM5701TASUN12XCD, 0997> SCSI2 5/cdrom removable hme0 at sbus0
> slot 14 offset 0x8c00000 vector 21 ipl 6: address
> 08:00:20:8f:d3:f4 nsphy0 at hme0 phy 1: DP83840 10/100 media
> interface, rev. 1 SUNW,bpp at sbus0 slot 14 offset 0xc800000
> vector 22 ipl 2 not configured isp0 at sbus0 slot 1 offset
> 0x10000 vector 3 ipl 3 for QLGC,isp scsibus1 at isp0: 16
> targets pcons at mainbus0 not configured root on sd0a
> rootdev=0x700 rrootdev=0x1100 rawdev=0x1102
>
>
>