Re: qt-3.3/php 5.1.6 does not compile FreeBSD 6.2-PRE/AMD64

2006-10-30 Thread Doug Barton
O. Hartmann wrote:
> cpghost wrote:
>> On Thu, Oct 26, 2006 at 10:18:44PM +0200, O. Hartmann wrote:
>>   
>>> Hello.
>>> Before sending a PR, I would like to ask you and maybe someone reveals
>>> my faults in this subject.
>>>
>>> Since a couple of weeks I can not build PHP 5.1.6 anymore. I can do it
>>> by hand, but not with the ports system. cups and qt are dependend on PHP
>>> and I would like to fix that problem. It seems that several ports do not
>>> build anymore especially on AMD64 arch, since I have a i386 box (Pentium
>>> 4) with nearly the same software status and configuration and I can
>>> check that there is everything o.k.
>>>
>>> This is the last error when trying to build Qt library, it dies in PHP.
>>> PHP dies with an error of a non working xml.
>>> 
>> I've had a similar show-stopper, until I realized that I had
>> WITH_THREADS set in /etc/make.conf (to get a threaded perl),
>> which was then picked up by the libxml2 port. After recompiling
>> and reinstalling libxml2 without WITH_THREADS, php 5.1.6 port
>> compiled without any problems.
>>
>> Regards,
>> -cpghost.
>>
>>   
> That's it, I did the same!
> So I need a dedicated WITH_THREAD for perl and in common non-threaded
> version for libxml2.

This is a good example of where sysutils/portconf would really be
useful. :)

Doug

-- 

This .signature sanitized for your protection
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: qt-3.3/php 5.1.6 does not compile FreeBSD 6.2-PRE/AMD64

2006-10-30 Thread cpghost
On Sun, Oct 29, 2006 at 06:03:43AM -0500, Gerard Seibert wrote:
> > I've had a similar show-stopper, until I realized that I had
> > WITH_THREADS set in /etc/make.conf (to get a threaded perl),
> > which was then picked up by the libxml2 port. After recompiling
> > and reinstalling libxml2 without WITH_THREADS, php 5.1.6 port
> > compiled without any problems.
> 
> You might want to consider putting the conditional make flags into 'if'
> statements in the '/etc/make.conf' file.
> 
>  .if $(.CURDIR:M*/lang/perl5.8)
>  WITH_THREADS=yes
>  .endif
> 
> Something like that might work, although you may have to tweak it
> slightly.

Thanks! That's a great hint. I've added this to my /etc/make.conf
and it works great:

.if ${.CURDIR:M*/lang/perl5.8}
WITH_THREADS=yes
.endif

.if ${.CURDIR:M*/editors/emacs}
WITHOUT_X11=yes
.endif

.if ${.CURDIR:M*/multimedia/mplayer}
WITHOUT_GUI=yes
.endif

That's much better than the general knobs that always get in the way.

> Gerard

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: qt-3.3/php 5.1.6 does not compile FreeBSD 6.2-PRE/AMD64

2006-10-29 Thread O. Hartmann
cpghost wrote:
> On Thu, Oct 26, 2006 at 10:18:44PM +0200, O. Hartmann wrote:
>   
>> Hello.
>> Before sending a PR, I would like to ask you and maybe someone reveals
>> my faults in this subject.
>>
>> Since a couple of weeks I can not build PHP 5.1.6 anymore. I can do it
>> by hand, but not with the ports system. cups and qt are dependend on PHP
>> and I would like to fix that problem. It seems that several ports do not
>> build anymore especially on AMD64 arch, since I have a i386 box (Pentium
>> 4) with nearly the same software status and configuration and I can
>> check that there is everything o.k.
>>
>> This is the last error when trying to build Qt library, it dies in PHP.
>> PHP dies with an error of a non working xml.
>> 
>
> I've had a similar show-stopper, until I realized that I had
> WITH_THREADS set in /etc/make.conf (to get a threaded perl),
> which was then picked up by the libxml2 port. After recompiling
> and reinstalling libxml2 without WITH_THREADS, php 5.1.6 port
> compiled without any problems.
>
> Regards,
> -cpghost.
>
>   
That's it, I did the same!
So I need a dedicated WITH_THREAD for perl and in common non-threaded
version for libxml2.

Will try this immediately! Thnaks.
Regards,
Oliver

-- 
O. Hartmann
Freie Universitaet Berlin
Institut fuer Geowissenschaften
Fernerkundung der Erde und Planeten
Malteser-Str. 74 - 100/Haus D
D-12249 Berlin

Tel.: +49 (0) 30 838 70 508
FAX:  +49 (0) 30 838 70 837

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: qt-3.3/php 5.1.6 does not compile FreeBSD 6.2-PRE/AMD64

2006-10-29 Thread Gerard Seibert
On Sunday October 29, 2006 at 01:19:12 (AM) cpghost wrote:


> I've had a similar show-stopper, until I realized that I had
> WITH_THREADS set in /etc/make.conf (to get a threaded perl),
> which was then picked up by the libxml2 port. After recompiling
> and reinstalling libxml2 without WITH_THREADS, php 5.1.6 port
> compiled without any problems.

You might want to consider putting the conditional make flags into 'if'
statements in the '/etc/make.conf' file.

 .if $(.CURDIR:M*/lang/perl5.8)
 WITH_THREADS=yes
 .endif

Something like that might work, although you may have to tweak it
slightly.


-- 
Gerard

 "Seen it all, done it all, can't remember most of it."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: qt-3.3/php 5.1.6 does not compile FreeBSD 6.2-PRE/AMD64

2006-10-28 Thread cpghost
On Thu, Oct 26, 2006 at 10:18:44PM +0200, O. Hartmann wrote:
> Hello.
> Before sending a PR, I would like to ask you and maybe someone reveals
> my faults in this subject.
> 
> Since a couple of weeks I can not build PHP 5.1.6 anymore. I can do it
> by hand, but not with the ports system. cups and qt are dependend on PHP
> and I would like to fix that problem. It seems that several ports do not
> build anymore especially on AMD64 arch, since I have a i386 box (Pentium
> 4) with nearly the same software status and configuration and I can
> check that there is everything o.k.
> 
> This is the last error when trying to build Qt library, it dies in PHP.
> PHP dies with an error of a non working xml.

I've had a similar show-stopper, until I realized that I had
WITH_THREADS set in /etc/make.conf (to get a threaded perl),
which was then picked up by the libxml2 port. After recompiling
and reinstalling libxml2 without WITH_THREADS, php 5.1.6 port
compiled without any problems.

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


qt-3.3/php 5.1.6 does not compile FreeBSD 6.2-PRE/AMD64

2006-10-26 Thread O. Hartmann
Hello.
Before sending a PR, I would like to ask you and maybe someone reveals
my faults in this subject.

Since a couple of weeks I can not build PHP 5.1.6 anymore. I can do it
by hand, but not with the ports system. cups and qt are dependend on PHP
and I would like to fix that problem. It seems that several ports do not
build anymore especially on AMD64 arch, since I have a i386 box (Pentium
4) with nearly the same software status and configuration and I can
check that there is everything o.k.

This is the last error when trying to build Qt library, it dies in PHP.
PHP dies with an error of a non working xml.

After I deinstalled PHP and several other stuff and tried to reinstall,
I can not install PHP anymore due to the shown error.

Any help is highly appreciated!

Regards,
Oliver


/bin/sh /usr/ports/lang/php5/work/php-5.1.6/libtool --silent
--preserve-dup-deps
 --mode=compile cc  -Imain/ -I/usr/ports/lang/php5/work/php-5.1.6/main/
-DPHP_AT
OM_INC -I/usr/ports/lang/php5/work/php-5.1.6/include
-I/usr/ports/lang/php5/work
/php-5.1.6/main -I/usr/ports/lang/php5/work/php-5.1.6
-I/usr/ports/lang/php5/wor
k/php-5.1.6/ext/date/lib -I/usr/ports/lang/php5/work/php-5.1.6/TSRM
-I/usr/ports
/lang/php5/work/php-5.1.6/Zend-O2 -fno-strict-aliasing -pipe
-march=athlon64
  -c main/internal_functions.c -o main/internal_functions.lo
/bin/sh /usr/ports/lang/php5/work/php-5.1.6/libtool --silent
--preserve-dup-deps
 --mode=link cc -export-dynamic -O2 -fno-strict-aliasing -pipe
-march=athlon64 
   ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo
ext/date/lib/p
arse_date.lo ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo
ext/date/lib/tm2un
ixtime.lo ext/date/lib/unixtime2tm.lo ext/reflection/php_reflection.lo
ext/spl/p
hp_spl.lo ext/spl/spl_functions.lo ext/spl/spl_engine.lo
ext/spl/spl_iterators.l
o ext/spl/spl_array.lo ext/spl/spl_directory.lo ext/spl/spl_sxe.lo
ext/spl/spl_e
xceptions.lo ext/spl/spl_observer.lo regex/regcomp.lo regex/regexec.lo
regex/reg
error.lo regex/regfree.lo ext/standard/array.lo ext/standard/base64.lo
ext/stand
ard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo
ext/standa
rd/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo
ext/standard/di
r.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo
ext/standard/fi
le.lo ext/standard/filestat.lo ext/standard/flock_compat.lo
ext/standard/formatt
ed_print.lo ext/standard/fsock.lo ext/standard/head.lo
ext/standard/html.lo ext/
standard/image.lo ext/standard/info.lo ext/standard/iptc.lo
ext/standard/lcg.lo
ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo
ext/standard/md5.
lo ext/standard/metaphone.lo ext/standard/microtime.lo
ext/standard/pack.lo ext/
standard/pageinfo.lo ext/standard/quot_print.lo ext/standard/rand.lo
ext/standar
d/reg.lo ext/standard/soundex.lo ext/standard/string.lo
ext/standard/scanf.lo ex
t/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo
ext/standard/ur
l.lo ext/standard/url_scanner.lo ext/standard/var.lo
ext/standard/versioning.lo
ext/standard/assert.lo ext/standard/strnatcmp.lo
ext/standard/levenshtein.lo ext
/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo
ext/standard/ftp_fo
pen_wrapper.lo ext/standard/http_fopen_wrapper.lo
ext/standard/php_fopen_wrapper
.lo ext/standard/credits.lo ext/standard/css.lo
ext/standard/var_unserializer.lo
 ext/standard/ftok.lo ext/standard/sha1.lo ext/standard/user_filters.lo
ext/stan
dard/uuencode.lo ext/standard/filters.lo ext/standard/proc_open.lo
ext/standard/
streamsfuncs.lo ext/standard/http.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo
TSRM/tsr
m_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo
main/php_sprintf
.lo main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo
main/php_scandir.lo
main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo
main/strl
cpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo
main/php_variables.l
o main/php_ticks.lo main/network.lo main/php_open_temporary_file.lo
main/php_log
os.lo main/output.lo main/suhosin_patch.lo main/streams/streams.lo
main/streams/
cast.lo main/streams/memory.lo main/streams/filter.lo
main/streams/plain_wrapper
.lo main/streams/userspace.lo main/streams/transports.lo
main/streams/xp_socket.
lo main/streams/mmap.lo Zend/zend_language_parser.lo
Zend/zend_language_scanner.
lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo
Zend/zend
_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo
Zend/zend_execute_
API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo
Zend/zend_o
perators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo
Zend/zend_variables.lo Zen
d/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo
Zend/zend_l
ist.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo
Zend/zend_sprintf.lo Z
end/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
Zend/zend_ts_hash.lo Z
end/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo
Zend/zend_exce
ptions.lo Zend