Error when build mod_jk with apache 2.2 under FreeBSD 7.2-STABLE 64bit?!

2009-08-28 Thread James Chang
Hi there,

 I try to buind mod_jk with apache 2.2 (also build from port
tree but with worker mode)
from porttree of FreeBSD but I it show me the following error messages:
=
/usr/local/lib: file not recognized: File format not recognized
gmake[1]: *** [mod_jk.la] Error 1
gmake[1]: Leaving directory
`/usr/ports/www/mod_jk/work/tomcat-connectors-1.2.28-src/native/apache-2.0'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/www/mod_jk.
=

In Tomcat web site, the FAQ says mod_jk could support apache 2.2

Could someone give me a hand ?

Thanks in advance.

Best Regards.


 James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Error when build mod_jk with apache 2.2 under FreeBSD 7.2-STABLE 64bit?!

2009-08-31 Thread James Chang
Hi Sean,

 Thanks for your hint, but when I enable mod_proxy and mod_proxy_ajp
It will pass all requests to Tomcat. This will cause my apache cannot run
php scripts!

 Is there any method that can run php scripts on apache and pass java
request to Tomcat?

Best Regards!


   James Chang

2009/8/29 Sean :
> Err... Apache 2.2 has a mod_proxy_ajp module to do the job of connecting,
> and probably doesn't need mod_jk
>
> http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html
>
>
>
> On 28/08/2009, at 1:44 PM, James Chang wrote:
>
>> Hi there,
>>
>>    I try to buind mod_jk with apache 2.2 (also build from port
>> tree but with worker mode)
>> from porttree of FreeBSD but I it show me the following error messages:
>>
>> =
>> /usr/local/lib: file not recognized: File format not recognized
>> gmake[1]: *** [mod_jk.la] Error 1
>> gmake[1]: Leaving directory
>>
>> `/usr/ports/www/mod_jk/work/tomcat-connectors-1.2.28-src/native/apache-2.0'
>> gmake: *** [all-recursive] Error 1
>> *** Error code 1
>>
>> Stop in /usr/ports/www/mod_jk.
>>
>> =
>>
>>   In Tomcat web site, the FAQ says mod_jk could support apache 2.2
>>
>> Could someone give me a hand ?
>>
>> Thanks in advance.
>>
>> Best Regards.
>>
>>
>>                                    James Chang
>> ___
>> freebsd-ports@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>
>
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


python26 (python26-2.6.2_3) build ERROR in FreeBSD ports tree

2009-09-14 Thread James Chang
Der Sir,

  When I build python26 from FreeBSD ports, it shown me the
following ERROR messages:


<-root->make depend all
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for python26-2.6.2_3
===>  Extracting for python26-2.6.2_3
=> MD5 Checksum OK for python/Python-2.6.2.tgz.
=> SHA256 Checksum OK for python/Python-2.6.2.tgz.
===>  Patching for python26-2.6.2_3
/bin/cp -r /usr/ports/lang/python26/work/Python-2.6.2/Lib/plat-freebsd8
 /usr/ports/lang/python26/work/Python-2.6.2/Lib/plat-freebsd9
/bin/mkdir -p /usr/ports/lang/python26/work/Python-2.6.2/portbld.static
/usr/ports/lang/python26/work/Python-2.6.2/portbld.shared/Modules
/bin/ln /usr/ports/lang/python26/work/Python-2.6.2/Lib/smtpd.py
/usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'
/usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/2to3  >
/usr/ports/lang/python26/work/`echo 2to3 | /usr/bin/sed -E -e
's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e
's,(idle|pydoc|python-shared|python),\12.6,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'
/usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/idle  >
/usr/ports/lang/python26/work/`echo idle | /usr/bin/sed -E -e
's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e
's,(idle|pydoc|python-shared|python),\12.6,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'
/usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/pydoc  >
/usr/ports/lang/python26/work/`echo pydoc | /usr/bin/sed -E -e
's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e
's,(idle|pydoc|python-shared|python),\12.6,'`
/usr/bin/sed -e '1s,^.*$,#!/usr/local/bin/python2.6,'
/usr/ports/lang/python26/work/Python-2.6.2/Tools/scripts/smtpd.py  >
/usr/ports/lang/python26/work/`echo smtpd.py | /usr/bin/sed -E -e
's,smtpd,smtpd2.6,'  -e 's,2to3,2to3-2.6,'  -e
's,(idle|pydoc|python-shared|python),\12.6,'`
/usr/bin/sed -i.bak -e
's,/usr/doc/python-docs-,/usr/local/share/doc/python,g'
/usr/ports/lang/python26/work/Python-2.6.2/Lib/pydoc.py
/usr/bin/sed -i.bak -e  's|^\( *prefixes = .*\)\]$|\1,
"/usr/local"]|g'
/usr/ports/lang/python26/work/Python-2.6.2/Lib/site.py
/usr/bin/sed -i.bak -e  's|^\(..ASDLGEN.*\)$|   true|g'
/usr/ports/lang/python26/work/Python-2.6.2/Makefile.pre.in
/usr/bin/sed -i.bak -e  's|*\(..INSTALL_SCRIPT.*\)python-config$|#port
\1|'  /usr/ports/lang/python26/work/Python-2.6.2/Makefile.pre.in
/usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python2.6|'
/usr/ports/lang/python26/work/Python-2.6.2/Misc/python-config.in >
/usr/ports/lang/python26/work/python2.6-config
/usr/bin/sed -e 's|^#!.*|#!/usr/local/bin/python-shared2.6|'
/usr/ports/lang/python26/work/Python-2.6.2/Misc/python-config.in >
/usr/ports/lang/python26/work/python-shared2.6-config
===>  Applying extra patch /usr/ports/lang/python26/files/extra-patch-setup.py
===>  Applying extra patch
/usr/ports/lang/python26/files/extra-patch-configure-pth
===>  Applying FreeBSD patches for python26-2.6.2_3
1 out of 11 hunks failed--saving rejects to setup.py.rej
=> Patch patch-setup.py failed to apply cleanly.
=> Patch(es) patch-Lib_test_test_threading.py
patch-Modules-_ctypes-libffi-configure patch-Python2.6-Lib_local.py
patch-Python_thread__pthread.h applied cleanly.
*** Error code 1

Stop in /usr/ports/lang/python26.
*** Error code 1

Stop in /usr/ports/lang/python26.


Best Regards!

 James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


MySQL 5.1.39 build Failed under FreeBSD 7.2

2009-09-29 Thread James Chang
Hi,
   I try to build mysql51-server and mysql51-client today,
But build failed and show me the following messages:

===mysql51-client build error messages=
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link cc  -O2
-fno-strict-aliasing -pipe -march=nocona  -o mysqlshow mysqlshow.o
-pthread ../libmysql/libmysqlclient.la -lcrypt -lm   -lz
libtool: link: c++ -O2 -fno-strict-aliasing -pipe -march=nocona
-fconserve-space -O2 -fno-strict-aliasing -pipe -march=nocona
-felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates
-fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 -o
.libs/mysqladmin mysqladmin.o -pthread
../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -pthread
-Wl,-rpath -Wl,/usr/local/lib/mysql
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link cc  -O2
-fno-strict-aliasing -pipe -march=nocona  -o mysqlcheck
mysqlcheck.o -pthread ../libmysql/libmysqlclient.la -lcrypt -lm   -lz
libtool: link: cc -DTHREAD -UUNDEF_THREADS_HACK -O2
-fno-strict-aliasing -pipe -march=nocona -o .libs/mysqlimport
mysqlimport-mysqlimport.o -pthread
../libmysql_r/.libs/libmysqlclient_r.so ../mysys/libmysys.a -lcrypt
-lm -lz -pthread -Wl,-rpath -Wl,/usr/local/lib/mysql
mv -f .deps/mysql.Tpo .deps/mysql.Po
libtool: link: cc -O2 -fno-strict-aliasing -pipe -march=nocona -o
.libs/mysqlshow mysqlshow.o -pthread
../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -pthread
-Wl,-rpath -Wl,/usr/local/lib/mysql
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link cc
-DTHREAD -UMYSQL_CLIENT_NO_THREADS -O2 -fno-strict-aliasing -pipe
-march=nocona  -o mysqlslap mysqlslap-mysqlslap.o  -pthread
../libmysql_r/libmysqlclient_r.la ../mysys/libmysys.a -lcrypt -lm
-lz
/bin/sh ../libtool --preserve-dup-deps --tag=CXX   --mode=link c++
-O2 -fno-strict-aliasing -pipe -march=nocona -fconserve-space -O2
-fno-strict-aliasing -pipe -march=nocona  -felide-constructors
-fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions
-fno-rtti -DMYSQLD_NET_RETRY_COUNT=100   -o mysql mysql.o
readline.o sql_string.o completion_hash.o
../cmd-line-utils/libedit/libedit.a -lncursesw -pthread
../libmysql/libmysqlclient.la  -lcrypt -lm   -lz
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link cc  -O2
-fno-strict-aliasing -pipe -march=nocona  -o mysql_upgrade
mysql_upgrade.o my_getpagesize.o -pthread
../libmysql/libmysqlclient.la -lcrypt -lm   -lz
libtool: link: cc -O2 -fno-strict-aliasing -pipe -march=nocona -o
.libs/mysqlcheck mysqlcheck.o -pthread
../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -pthread
-Wl,-rpath -Wl,/usr/local/lib/mysql
libtool: link: cc -DTHREAD -UMYSQL_CLIENT_NO_THREADS -O2
-fno-strict-aliasing -pipe -march=nocona -o .libs/mysqlslap
mysqlslap-mysqlslap.o -pthread
../libmysql_r/.libs/libmysqlclient_r.so ../mysys/libmysys.a -lcrypt
-lm -lz -pthread -Wl,-rpath -Wl,/usr/local/lib/mysql
libtool: link: c++ -O2 -fno-strict-aliasing -pipe -march=nocona
-fconserve-space -O2 -fno-strict-aliasing -pipe -march=nocona
-felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates
-fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 -o
.libs/mysql mysql.o readline.o sql_string.o completion_hash.o -pthread
 ../cmd-line-utils/libedit/libedit.a -lncursesw
../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -pthread
-Wl,-rpath -Wl,/usr/local/lib/mysql
c++: ../cmd-line-utils/libedit/libedit.a: No such file or directory
gmake[2]: *** [mysql] Error 1
gmake[2]: *** Waiting for unfinished jobs
libtool: link: cc -O2 -fno-strict-aliasing -pipe -march=nocona -o
.libs/mysql_upgrade mysql_upgrade.o my_getpagesize.o -pthread
../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -pthread
-Wl,-rpath -Wl,/usr/local/lib/mysql
mv -f .deps/mysqldump.Tpo .deps/mysqldump.Po
mv -f .deps/mysqltest-mysqltest.Tpo .deps/mysqltest-mysqltest.Po
mv -f .deps/mysqlbinlog.Tpo .deps/mysqlbinlog.Po
gmake[2]: Leaving directory
`/usr/ports/databases/mysql51-client/work/mysql-5.1.39/client'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/ports/databases/mysql51-client/work/mysql-5.1.39/client'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/databases/mysql51-client.

===mysql51-server build error messages=
/bin/sh ../../libtool --preserve-dup-deps --tag=CXX   --mode=link c++
-O2 -fno-strict-aliasing -pipe -march=nocona -fPIC -fconserve-space
-O2 -fno-strict-aliasing -pipe -march=nocona  -fPIC
-felide-constructors -fno-rtti -fno-exceptions
-fno-implicit-templates -fno-exceptions -fno-rtti
-DMYSQLD_NET_RETRY_COUNT=100   -o mysql mysql.o readline.o
completion_hash.o ../../cmd-line-utils/libedit/libedit.a -lncursesw
../libmysqld.a-pthread -lcrypt -lm  -pthread   -lcrypt -lm   -lz
libtool: link: c++ -O2 -fno-strict-aliasing -pipe -march=nocona -fPIC
-fconserve-space -O2 -fno-strict-aliasing -pipe -march=nocona -fPIC
-felide-constructors -fno-rtti -fno-exceptions -fno-implicit-

lsof build failed under FreeBSD 7.2-STABLE AMD64

2009-11-01 Thread James Chang
Dear Sir,
 I tru to build lsof (/usr/ports/sysutils/lsof) under FreeBSD
7.2-STABLE(AMD X64).
It show me the following ERROR messages.

===>  Vulnerability check disabled, database not found
===>  Extracting for lsof-4.83B,4
=> MD5 Checksum OK for lsof_4.83B.freebsd.tar.bz2.
=> SHA256 Checksum OK for lsof_4.83B.freebsd.tar.bz2.
===>  Patching for lsof-4.83B,4
===>  Configuring for lsof-4.83B,4
Creating ./lockf_owner.h from /usr/src/sys/kern/kern_lockf.c
./lockf_owner.h creation succeeded.
rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c
dstore.c dzfs.h kernelbase.h machine.h machine.h.old new_machine.h
__lseek.s Makefile Makefile.zfs ./tests/config.cflags
rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags
Testing C library for localtime() and strftime(), using cc ... present
ln -s dialects/freebsd/dlsof.h dlsof.h
ln -s dialects/freebsd/dmnt.c dmnt.c
ln -s dialects/freebsd/dnode.c dnode.c
ln -s dialects/freebsd/dnode1.c dnode1.c
ln -s dialects/freebsd/dnode2.c dnode2.c
ln -s dialects/freebsd/dproc.c dproc.c
ln -s dialects/freebsd/dproto.h dproto.h
ln -s dialects/freebsd/dsock.c dsock.c
ln -s dialects/freebsd/dstore.c dstore.c
ln -s dialects/freebsd/dzfs.h dzfs.h
ln -s dialects/freebsd/machine.h machine.h
Makefile and lib/Makefile created.
Makefile.zfs created.
./tests/config.cc created
./tests/config.cflags created
./tests/config.ldflags created
./tests/config.xobj created
===>  Building for lsof-4.83B,4
(cd lib; make DEBUG="-O2" CFGF="-fno-strict-aliasing -pipe
-march=nocona -DHASRPCV2H -DHASEFFNLINK=i_effnlink -DHASF_VNODE
-DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV
-DHAS_SI_PRIV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY
-DFREEBSDV=7020 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6
-DHAS_STRFTIME -DLSOF_VSTR=\"7.2-STABLE\"")
cc  -fno-strict-aliasing -pipe -march=nocona -DHASRPCV2H
-DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE
-DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DHAS_SI_PRIV -DHAS_SYS_SX_H -DHAS_ZFS
-DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DFREEBSDV=7020 -DHASFDESCFS=2
-DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHAS_STRFTIME
-DLSOF_VSTR="7.2-STABLE" -I/usr/src/sys -O2 -c ckkv.c
In file included from ../dlsof.h:81,
 from ../lsof.h:195,
 from ckkv.c:43:
/usr/src/sys/sys/conf.h:144: error: expected declaration specifiers or
'...' before 'vm_memattr_t'
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.83B.freebsd/lib.
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.83B.freebsd.
*** Error code 1

Stop in /usr/ports/sysutils/lsof.

Best Regards


James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


About Yahoo's Traffic Server

2009-11-04 Thread James Chang
Hi ,

   Yahoo's Traffic Server goes Open Source.
Could it possible to add Yahoo's Traffic Server into FreeBSD ports?

  Ref.

   http://cwiki.apache.org/confluence/display/TS/Traffic+Server

Best Regards!

     James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


About nikto in FreeBSD port tree

2009-11-26 Thread James Chang
Dear Sir,

  I found the following ports in FreeBSD was maintained by you.
/usr/ports/security/nikto

  In 10/062007, the nikto has released Ver 2.1.0
In this new release, it has many bugs fixed and new features.

  Could you please update the nikto in FreeBSD port
tree to version Ver 2.1.0 ?

Best Regards!

James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


PHP 5.2.11_1 core dump under FreeBSD 7.2-STABLE (with gdb info)

2009-12-25 Thread James Chang
Dears,

I upgrade my FreeBSD Box to 7.2-STABLE today and us portupgrade to
upgrade installed ports.
When everything done, php was broken :<

   When I run 'php -m' it will show me core dump message, following
are my system info and error messages:

1.uname -a
 FreeBSD db1.books.com.tw 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Dec 24
13:38:12 CST 2009 r...@web.test.com:/usr/obj/usr/src/sys/GENERIC
amd64

2.php -m
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
date
dom
exif
fileinfo
filter
fribidi
ftp
gd
gettext
gmp
hash
iconv
json
ldap
libxml
mbstring
mcrypt
mhash
ming
mysql
mysqli
ncurses
odbc
openssl
pcntl
pcre
pdf
PDO
pdo_sqlite
posix
pspell
readline
recode
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
SQLite
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
yaz
zip
zlib

[Zend Modules]

Segmentation fault

3.php -v
PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Dec 25 2009 07:12:09) (DEBUG)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
Segmentation fault

4.gdb info, sorry my gdb skill is very poor :<
<-root->gdb -e /usr/local/bin/php
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
(gdb) set args -v
(gdb) run
Starting program: /usr/local/bin/php -v
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...[New LWP
100103]
[New Thread 0x8013c30b0 (LWP 100103)]
PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Dec 25 2009 07:12:09) (DEBUG)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
[New LWP 100103]
suspend error: generic error
[Switching to LWP 100103]
Stopped due to shared library event
(gdb) set args -m
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/local/bin/php -m
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...[New LWP
100105]
[New Thread 0x8013c30b0 (LWP 100105)]
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
date
dom
exif
fileinfo
filter
fribidi
ftp
gd
gettext
gmp
hash
iconv
json
ldap
libxml
mbstring
mcrypt
mhash
ming
mysql
mysqli
ncurses
odbc
openssl
pcntl
pcre
pdf
PDO
pdo_sqlite
posix
pspell
readline
recode
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
SQLite
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
yaz
zip
zlib

[Zend Modules]

[New LWP 100105]
suspend error: generic error
[Switching to LWP 100105]
Stopped due to shared library event

Best Regards!
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsu

PHP 5.2.12 core dump under FreeBSD 8-STABLE with Apache 2.2 (apache-worker-2.2.14_5) worker-mpm mode

2009-12-30 Thread James Chang
k/php-5.2.12/Zend/zend_variables.c(35) : Actual location
 (location was relayed)
Invalid pointer: ((thread_id=0x013BD370) != (expected=0x015061C0))
---
[Thu Dec 31 14:22:46 2009]  Script:  '-'
---
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(162) : Block 0x801436
f78 status:
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(35) : Actual location
 (location was relayed)
Invalid pointer: ((thread_id=0x013BD370) != (expected=0x015061C0))
---
[Thu Dec 31 14:22:46 2009]  Script:  '-'
---
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(162) : Block 0x801437
000 status:
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(35) : Actual location
 (location was relayed)
Invalid pointer: ((thread_id=0x013BD370) != (expected=0x015061C0))
---
[Thu Dec 31 14:22:46 2009]  Script:  '-'
---
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(162) : Block 0x801437
088 status:
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(35) : Actual location
 (location was relayed)
Invalid pointer: ((thread_id=0x013BD370) != (expected=0x015061C0))
---
[Thu Dec 31 14:22:46 2009]  Script:  '-'
---
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(162) : Block 0x801437
110 status:
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(35) : Actual location
 (location was relayed)
Invalid pointer: ((thread_id=0x013BD370) != (expected=0x015061C0))
---
[Thu Dec 31 14:22:46 2009]  Script:  '-'
---
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(162) : Block 0x801437
198 status:
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(35) : Actual location
 (location was relayed)
Invalid pointer: ((thread_id=0x013BD370) != (expected=0x015061C0))
---
[Thu Dec 31 14:22:46 2009]  Script:  '-'
---
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(162) : Block 0x801437
220 status:
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(35) : Actual location
 (location was relayed)
Invalid pointer: ((thread_id=0x013BD370) != (expected=0x015061C0))
---
[Thu Dec 31 14:22:46 2009]  Script:  '-'
---
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(162) : Block 0x801437
2a8 status:
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(35) : Actual location
 (location was relayed)
Invalid pointer: ((thread_id=0x013BD370) != (expected=0x015061C0))
---
[Thu Dec 31 14:22:46 2009]  Script:  '-'
---
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(162) : Block 0x801437
330 status:
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(35) : Actual location
 (location was relayed)
Invalid pointer: ((thread_id=0x013BD370) != (expected=0x015061C0))
---
[Thu Dec 31 14:22:46 2009]  Script:  '-'

---
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(162) : Block 0x801437
3b8 status:
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(35) : Actual location
 (location was relayed)
Invalid pointer: ((thread_id=0x013BD370) != (expected=0x015061C0))
---
[Thu Dec 31 14:22:46 2009]  Script:  '-'
---
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(162) : Block 0x801437
440 status:
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_variables.c(35) : Actual location
 (location was relayed)
Invalid pointer: ((thread_id=0x013BD370) != (expected=0x015061C0))
---
PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Dec 31 2009 10:37:13) (DEBUG)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
[Thu Dec 31 14:22:46 2009]  Script:  '-'
---
/usr/ports/lang/php5/work/php-5.2.12/Zend/zend_hash.c(844) : Block 0x st
atus:
NULL
---
Segmentation fault (core dumped)

Does someone know how to solve this problem?

Best Regards!


   James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


MySQL 5.1.43 will build failed if enable "--with-ndb-docs" in Makfile's CONFIGURE_ARGS

2010-02-23 Thread James Chang
Dear Sir,

 I found MySQL 5.1.43 in FreeBSD ports tree will build failed when
enable "--with-ndb-docs" in Makfile's CONFIGURE_ARGS.
Following are the error message.

libtool: link: c++ -I../../../storage/ndb/src/mgmapi
-I../../../storage/ndb/src/mgmsrv
-I../../../storage/ndb/include/mgmcommon -DMYSQLCLUSTERDIR=\"\" -O2
-fno-strict-aliasing -pipe -march=nocona -O3 -fno-omit-frame-pointer
-fno-gcse -fPIC -fconserve-space -O2 -fno-strict-aliasing -pipe
-march=nocona -O3 -fno-omit-frame-pointer -fno-gcse -fPIC
-felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates
-fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=100 -o
ndb_config ndb_config-ndb_config.o ndb_config-Config.o
ndb_config-ConfigInfo.o ndb_config-InitConfigFileParser.o -pthread
-pthread  ../../../storage/ndb/src/.libs/libndbclient.a
../../../dbug/libdbug.a ../../../mysys/libmysys.a
../../../strings/libmystrings.a -lz -lcrypt -lm -pthread
Making all in .
Making all in include
Making all in docs
+ test /usr/bin/perl = no
+ test no = no
+ echo 'Doxygen needed to make docs'
Doxygen needed to make docs
+ exit 1
*** Error code 1
+ export NDB_RELEASE=5.1.43-
+ export NDB_RELEASE=5.1.43-
+ /bin/rm -f ndbapi.pdf ndbapi.html
+ /bin/rm -f mgmapi.pdf mgmapi.html
+ /bin/rm -rf .doxytmp .doxyout
+ /bin/rm -rf .doxytmp .doxyout
+ mkdir -p .doxytmp .doxyout
+ mkdir -p .doxytmp .doxyout
+ /bin/cp ../../../storage/ndb/include/ndbapi/Ndb.hpp
../../../storage/ndb/include/ndbapi/NdbApi.hpp
../../../storage/ndb/include/ndbapi/NdbBlob.hpp
../../../storage/ndb/include/ndbapi/NdbDictionary.hpp
../../../storage/ndb/include/ndbapi/NdbError.hpp
../../../storage/ndb/include/ndbapi/NdbEventOperation.hpp
../../../storage/ndb/include/ndbapi/NdbIndexOperation.hpp
../../../storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp
../../../storage/ndb/include/ndbapi/NdbIndexStat.hpp
../../../storage/ndb/include/ndbapi/NdbOperation.hpp
../../../storage/ndb/include/ndbapi/NdbPool.hpp
../../../storage/ndb/include/ndbapi/NdbRecAttr.hpp
../../../storage/ndb/include/ndbapi/NdbReceiver.hpp
../../../storage/ndb/include/ndbapi/NdbScanFilter.hpp
../../../storage/ndb/include/ndbapi/NdbScanOperation.hpp
../../../storage/ndb/include/ndbapi/NdbTransaction.hpp
../../../storage/ndb/include/ndbapi/ndb_cluster_connection.hpp
../../../storage/ndb/include/ndbapi/ndb_opt_defaults.h
../../../storage/ndb/include/ndbapi/ndbapi_limits.h
../../../storage/ndb/include/ndbapi/ndberror.h .doxytmp
+ /bin/cp ../../../storage/ndb/include/mgmapi/mgmapi.h
../../../storage/ndb/include/mgmapi/mgmapi_config_parameters.h
../../../storage/ndb/include/mgmapi/mgmapi_config_parameters_debug.h
../../../storage/ndb/include/mgmapi/mgmapi_debug.h
../../../storage/ndb/include/mgmapi/mgmapi_error.h
../../../storage/ndb/include/mgmapi/ndb_logevent.h
../../../storage/ndb/include/mgmapi/ndbd_exit_codes.h .doxytmp
+ /usr/bin/perl doxygen/predoxy.pl
+ /bin/cp ../../../storage/ndb/ndbapi-examples/mgmapi_logevent/main.cpp
../../../storage/ndb/ndbapi-examples/mgmapi_logevent2/main.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_async/ndbapi_async.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_async1/ndbapi_async1.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_event/ndbapi_event.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_retries/ndbapi_retries.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_scan/ndbapi_scan.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_simple/ndbapi_simple.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_simple_dual/main.cpp
../../../storage/ndb/ndbapi-examples/ndbapi_simple_index/main.cpp
.doxytmp
+ /usr/bin/perl doxygen/predoxy.pl
Preformat finished

+ mv footer.html .doxytmp
+ cd .doxytmp
+ no ../doxygen/Doxyfile.mgmapi
no: not found
Preformat finished

+ mv footer.html .doxytmp
*** Error code 127
+ cd .doxytmp
+ no ../doxygen/Doxyfile.ndbapi
no: not found
*** Error code 127
3 errors
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/databases/mysql51-server.


Best Regards!


 James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: MySQL 5.1.43 will build failed if enable "--with-ndb-docs" in Makfile's CONFIGURE_ARGS

2010-02-24 Thread James Chang
Hi Alex,

Thanks for your kindly notice.
I found this configure args from mysql 5.1.43 source tarball.
I have this problem(question) because I'm trying to build
MySQL ndb cluster envrionment.

   Are there any special issues in FreeBSD, so cannot use
the --with-ndb-docs args come from source code tarball?

Best Regards!


   James Chang

2010/2/24 Alex Dupre :
> James Chang ha scritto:
>>      I found MySQL 5.1.43 in FreeBSD ports tree will build failed when
>> enable "--with-ndb-docs" in Makfile's CONFIGURE_ARGS.
>
> And where have you found that you can manually modify the configure args
> of a port and expect it will work?
>
> --
> Alex Dupre
>
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


About OSSEC-* in FreeBSD ports tree (/usr/ports/security/ossec-*)

2010-04-20 Thread James Chang
Dear Sir,

  I found the following ports in FreeBSD are maintained by you.
1./usr/ports/security/ossec-hids-client
2./usr/ports/security/ossec-hids-server
3./usr/ports/security/ossec-hids-local

  In Apr. 01,2010, the OSSEC has released v2.4 and an Web
interface for OSSEC(http://www.ossec.net/files/ui/ossec-wui-0.3.tar.gz)

 Could you please update the OSSEC in FreeBSD port tree to version 2.4 ?

Best Regards!


 James
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


About snort_inline in FreeBSD port tree

2010-04-20 Thread James Chang
Dear Sir,

I found the snort_inline in FreeBSD Port Tree was maintained by you.
Current version of snort_inline in FreeBSD port tree was 2.4.5_1, but
in its official site, the latest version is 2.8.2.1-RC1 (stable version is
2.6.1.5)

   Could you please upgrade snort_inline in FreeBSD port tree to 2.8.2.1-RC1
or 2.6.1.5 ?

   Thnaks in advance!

Best Regards!


James
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


About ocsinventory-* in FreeBSD ports tree (/usr/ports/net-mgmt/ocsinventory-*)

2010-08-25 Thread James Chang
Dear Sir,

   I found the following ports in FreeBSD are maintained by you.
1./usr/ports/net-mgmt/ocsinventory-ng
2./usr/ports/net-mgmt/ocsinventory-agent


   In May 13,2010, the OCS Inventory Team  has released v1.3.2 which
fix many security bugs!
Could you please update the ocsinventory-* in FreeBSD port tree to
version v1.3.2 ?

Best Regards!


 James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: About ocsinventory-* in FreeBSD ports tree (/usr/ports/net-mgmt/ocsinventory-*)

2010-09-02 Thread James Chang
Hi Marcelo,

I install ocsinventory-ng-1.3.2 from FreeBSD ports tree,
But I cannot finish installation successfully! Following are
my steps and ERROR message, could you please share
your installation experience with me?

Step 1. cd /usr/ports/net-mgmt/ocsinventory-ng/
Step 2. make install
Step 3. cd /usr/local/share/ocsinventory-ng
Step 4. sh ./setup.sh
Step 5. FAILED! and following are error messages :<

+--+
| OK, Communication server Perl modules install finished;-)|
|  |
| Creating Communication server log directory...   |
+--+

Creating Communication server log directory /var/log/ocsinventory-server.

Fixing Communication server log directory files permissions.
Configuring logrotate for Communication server.
/usr/local/share/ocsinventory-ng
cp: etc/logrotate.d/ocsinventory-server: No such file or directory
Can't open logrotate.ocsinventory-server.local: No such file or directory.
cat: logrotate.ocsinventory-server.local: No such file or directory
Removing old communication server logrotate file
/etc/logrotate.d/ocsinventory-NG
Writing communication server logrotate to file
/etc/logrotate.d/ocsinventory-server
*** ERROR: Unable to configure log rotation, please look at error in
/usr/local/share/ocsinventory-ng/ocs_server_setup.log and fix !

Installation aborted !
#

Best Regards!


    James Chang

2010/8/26 Marcelo Araujo :
> Hi James,
> First of all, thanks to contact me about ocs.
> Well, right now both ports are in the queue of my Tinderbox, just to check
> and test if everything is OK.
> Soon, I believe till this weekend, I can effective the update.
> Once again, thanks.
> Best Regards.
> - Araujo
>
> 2010/8/25 James Chang 
>>
>> Dear Sir,
>>
>>   I found the following ports in FreeBSD are maintained by you.
>> 1./usr/ports/net-mgmt/ocsinventory-ng
>> 2./usr/ports/net-mgmt/ocsinventory-agent
>>
>>
>>   In May 13,2010, the OCS Inventory Team  has released v1.3.2 which
>> fix many security bugs!
>> Could you please update the ocsinventory-* in FreeBSD port tree to
>> version v1.3.2 ?
>>
>> Best Regards!
>>
>>
>>             James Chang
>
>
>
> --
> Marcelo Araujo
> ara...@freebsd.org
>
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


About ganglia-monitor-core and ganglia-webfrontend in FreeBSD ports tree

2012-03-23 Thread James Chang
Dear Sir,

I found the following ports in FreeBSD are maintained by you:

1. /usr/ports/sysutils/ganglia-monitor-core
2. /usr/ports/sysutils/ganglia-webfrontend

 In Feb. 08, 2012, the Ganglia Project has released v3.3.1 and v3.3.2
will coming soon.

 Could you please update the ganglia-monitor-core and ganglia-webfrontend
in FreeBSD port tree to version 3.3.1 or 3.3.2 ?

Best Regards!


 James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


About PHP 5.X in FreeBSD port tree

2012-04-01 Thread James Chang
Dear Sir,

 I found the following ports in FreeBSD ports tree are
maintained by you:

1. /usr/ports/lang/php5
2. /usr/ports/lang/php5-extensions

 PHP has officially released PHP 5.4.0 on 01-Mar-2012,
it fix the folowing security bug:

CVE-2011-2483
CVE-2011-4153
CVE-2011-3389

Also, There are some key features of PHP 5.4.0 include:

1. New language syntax including Traits, shortened array syntax and more
2. Improved performance and reduced memory consumption
3. Support for multibyte languages now available in all builds of PHP
at the flip of a runtime switch
4. Built-in webserver in CLI mode to simplify development workflows and testing
5. Cleaner code base thanks to the removal of multiple deprecated
language features
6. Many more improvements and fixes

Cloud you please upgrade the PHP version from 5.3.10_1 to 5.4.0 in
FreeBSD port tree?

Best Regards!


   James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: About PHP 5.X in FreeBSD port tree

2012-04-02 Thread James Chang
Dear Sir,

Thanks for your notice, but there seems no information about
whether the vulnerabilities about CVE-2011-2483, CVE-2011-4153 and
CVE-2011-3389 were fixed in FreeBSD port tree (PHP 5.3.10_1) or not?

Best Regards!

 James Chang

2012/4/3 Mel Flynn :
> Please search the list before posting.
>
> --
> Mel
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


/usr/ports/x11/libxcb build Faild with Python31-3.1.2_1

2010-11-10 Thread James Chang
dency style of cc... (cached) gcc3
checking for xsltproc... /usr/local/bin/xsltproc
checking for XCBPROTO... yes
checking for NEEDED... yes
checking for XDMCP... yes
checking for XdmcpWrap in -lXdmcp... yes
checking XCBPROTO_XCBINCLUDEDIR... /usr/local/share/xcb
checking XCBPROTO_XCBPYTHONDIR... /usr/local/lib/python3.1/site-packages
checking for ANSI C header files... (cached) yes
checking for library containing getaddrinfo... none required
checking for library containing connect... none required
checking for struct sockaddr_un.sun_len... yes
checking whether cc supports symbol visibility... yes
checking whether documentation is built... no
checking for poll... yes
checking for launchd... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating xcb.pc
config.status: creating xcb-composite.pc
config.status: creating xcb-damage.pc
config.status: creating xcb-dpms.pc
config.status: creating xcb-dri2.pc
config.status: creating xcb-glx.pc
config.status: creating xcb-randr.pc
config.status: creating xcb-record.pc
config.status: creating xcb-render.pc
config.status: creating xcb-res.pc
config.status: creating xcb-screensaver.pc
config.status: creating xcb-shape.pc
config.status: creating xcb-shm.pc
config.status: creating xcb-sync.pc
config.status: creating xcb-xevie.pc
config.status: creating xcb-xf86dri.pc
config.status: creating xcb-xfixes.pc
config.status: creating xcb-xinerama.pc
config.status: creating xcb-xinput.pc
config.status: creating xcb-xprint.pc
config.status: creating xcb-xselinux.pc
config.status: creating xcb-xtest.pc
config.status: creating xcb-xv.pc
config.status: creating xcb-xvmc.pc
config.status: creating doc/xcb.doxygen
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

  Package: libxcb 1.7

  Configuration
XDM support.: yes
Build unit tests: yes
XCB buffer size.: 16384

  X11 extensions
Composite...: yes
Damage..: yes
Dpms: yes
Dri2: yes
Glx.: yes
Randr...: yes
Record..: yes
Render..: yes
Resource: yes
Screensaver.: yes
selinux.: no
Shape...: yes
Shm.: yes
Sync: yes
Xevie...: yes
Xfixes..: yes
Xfree86-dri.: yes
xinerama: yes
xinput..: yes
xprint..: yes
xtest...: yes
xv..: yes
xvmc: yes

  Used CFLAGS:
CPPFLAGS:
CFLAGS..: -O2 -fno-strict-aliasing -pipe -march=nocona
Warning CFLAGS..: -Wall -pedantic -Wpointer-arith
 -Wstrict-prototypes -Wmissing-declarations -Wnested-externs

  Installation:
Prefix..: /usr/local

===>  Building for libxcb-1.7
Making all in src
gmake[1]: Entering directory `/usr/ports/x11/libxcb/work/libxcb-1.7/src'
/usr/local/bin/python3.1 ./c_client.py -p
/usr/local/lib/python3.1/site-packages /usr/local/share/xcb/xproto.xml
  File "./c_client.py", line 1013
except getopt.GetoptError, err:
 ^
SyntaxError: invalid syntax
gmake[1]: *** [xproto.c] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/libxcb/work/libxcb-1.7/src'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/x11/libxcb.

=
If it MUST HAVE python 2.6.6 installed?
If above is true, it means my system should have two version of python
at the same time?


Best Regards!


  James Chang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Compile php5-sybase_ct-5.2.9 with freetds-devel-0.82.1_1, 1 in FreeBSD ports will Failed!

2009-03-26 Thread James Chang
Dear Sir,

I'm running almost 300 boxes of FreeBSD with PHP 5.2.9 as my Web
Application front-end.

Because my backend DB Server is Sybase ASE 15.0.2, I need to re-build my
php5-sybase_ct-5.2.9 with FreeTDS 0.82(or above). Or I will encounter truncated
problem when column type is Char(n), VarChar(n), Binary(n), and VarBinary(n)
datatypes where n is more than 255 bytes.

Could you please do me a favor ? Or my boss will ask me kill
these FreeBSD Box and install Linux on these boxes (in order to use
sybase's Open
Client, which ONLY support Linux).If so, it will be nightmare scenario:<

Best Regards!

P.S.
1.The following is compiling Error message :<
/usr/ports/databases/php5-sybase_ct/work/php-5.2.9/ext/sybase_ct/php_sybase_ct.c:809:
warning: cast from pointer to integer of different size
/bin/sh /usr/ports/databases/php5-sybase_ct/work/php-5.2.9/ext/sybase_ct/libtool
--mode=link cc -DPHP_ATOM_INC
-I/usr/ports/databases/php5-sybase_ct/work/php-5.2.9/ext/sybase_ct/include
-I/usr/ports/databases/php5-sybase_ct/work/php-5.2.9/ext/sybase_ct/main
-I/usr/ports/databases/php5-sybase_ct/work/php-5.2.9/ext/sybase_ct
-I/usr/local/include/php -I/usr/local/include/php/main
-I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
-I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
-I/usr/local/include  -I/usr/local/include/php -DHAVE_CONFIG_H  -O3
-fno-strict-aliasing -pipe -march=opteron   -o ./sybase_ct.la
-export-dynamic -avoid-version -prefer-pic -module -rpath
/usr/ports/databases/php5-sybase_ct/work/php-5.2.9/ext/sybase_ct/modules
 php_sybase_ct.lo -lsybtcl -lintl -lcomn -lct -lcs -R/usr/local/lib
-L/usr/local/lib
cc -shared  .libs/php_sybase_ct.o  -Wl,--rpath -Wl,/usr/local/lib
-Wl,--rpath -Wl,/usr/local/lib -lsybtcl /usr/local/lib/libintl.so
-L/usr/local/lib -lcomn /usr/local/lib/libct.so -L/usr/lib -lcs
-march=opteron -Wl,-soname -Wl,sybase_ct.so -o ./.libs/sybase_ct.so
/usr/bin/ld: cannot find -lsybtcl
*** Error code 1

Stop in /usr/ports/databases/php5-sybase_ct/work/php-5.2.9/ext/sybase_ct.


2.The following are the FreeTDS log:
==
15:51:06.317420 48508 (net.c:542):Received packet
 25 00 00 01 0a 05 30 31-30 30 34 00 01 00 b7 00 |%.01 004.|
0010 43 68 61 72 61 63 74 65-72 20 6f 72 20 62 69 6e |Characte r or bin|
0020 61 72 79 20 64 61 74 61-20 72 65 74 75 72 6e 65 |ary data  returne|
0030 64 20 66 72 6f 6d 20 41-64 61 70 74 69 76 65 20 |d from A daptive |
0040 53 65 72 76 65 72 20 68-61 73 20 62 65 65 6e 20 |Server h as been |
0050 74 72 75 6e 63 61 74 65-64 2e 20 54 68 65 20 63 |truncate d. The c|
0060 6c 69 65 6e 74 20 61 70-70 6c 69 63 61 74 69 6f |lient ap plicatio|
0070 6e 20 64 6f 65 73 20 6e-6f 74 20 73 75 70 70 6f |n does n ot suppo|
0080 72 74 20 6d 6f 72 65 20-74 68 61 6e 20 32 35 35 |rt more  than 255|
0090 20 62 79 74 65 73 20 6f-66 20 64 61 74 61 20 61 | bytes o f data a|
00a0 73 20 61 20 72 65 73 75-6c 74 20 63 6f 6c 75 6d |s a resu lt colum|
00b0 6e 20 6f 72 20 6f 75 74-70 75 74 20 70 61 72 61 |n or out put para|
00c0 6d 65 74 65 72 2e 0a 06-64 6f 72 6f 72 6f 00 01 |meter... dororo..|
00d0 00 fd 10 00 02 00 01 00-00 00   | ..|
==
i.e. Sybase ASE 15.0.2 response:"Character or binary data returned
from Adaptive Server has been truncated. The client application does
not support more than 255 bytes of data as a result column or output
parameter."
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"