php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16098 Output line too long
Submitted: 2002-03-15 10:34 UTC Modified: 2002-11-08 20:04 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: damm at bourg dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0CVS-2002-03-15 OS: Solaris 8
Private report: No CVE-ID: None
 [2002-03-15 10:34 UTC] damm at bourg dot net
While compiling with the specific configure line of, ./configure --with-pgsql=/usr/local/pgsql --with-imap=/usr/local/src/imap --with-apache=/usr/local/apache --with-openssl=/usr/local/ssl,

going 90% through the compiling i get this error message,

ntf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lpam -lc-client -lpq -lcrypt -lpam -lcrypt -lresolv -lresolv -lm -ldl -lsocket -lsocket -lcrypt -ldl -o sapi/cli/php
Output line too long.
Output line too long.
Output line too long.
gcc: ext/xml/expat/xm: No such file or directory
make: *** [sapi/cli/php] Error 1

Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)

I have the same specific problem with gcc 3.0.3, and i am having problems getting 3.0.4 to install, so that isn't an option.

SunOS shell.bourg.net 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-5_10

If there is any questions email me.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-15 10:37 UTC] mfischer@php.net
I don't know solaris that well but .. are you using a solaris shell or GNU bash ? Maybe there's a problem with long parameters ... ?
 [2002-03-15 10:42 UTC] damm at bourg dot net
Using tcsh, and bash... it's a little strange i've never seen that error before.
 [2002-03-15 10:44 UTC] damm at bourg dot net
and i just tried solaris's sh shell also, which no avail.

Problem with the shells maybe?
 [2002-04-16 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-05-23 21:02 UTC] jmcastagnetto@php.net
I have tried the latest CVS (freshly updated at 2002-05-23, 17:50pm PST) in Solaris 2.8, using csh, tcsh, bash (2.03) and in all I also got the same problem.

% uname -a
SunOS redox 5.8 Generic_108528-07 sun4u sparc SUNW,Sun-Blade-100

% gcc --version
3.0.2

% make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.8
Copyright (C)  [... etc ...]

Also, I used the configuration:

./configure --prefix=/export/dredox1/devel_server/php \
--with-config-file-path=/export/dredox1/devel_server/php \
--enable-track-vars --enable-magic-quotes \
--enable-inline-optimization \
--enable-xml \
--enable-pcntl \
--enable-cli \
--enable-aggregate \
--enable-overload \
--enable-wddx \
--enable-ftp --enable-calendar --enable-bcmath --enable-trans-id\
--with-zlib \
--with-gd=/asd/metallo1/server/libs/gd-1.8.4 \
--enable-freetype-4bit-antialias-hack \
--with-jpeg-dir=/opt/sfw \
--with-png-dir=/opt/sfw \
--with-xpm-dir=/opt/sfw \
--with-ttf=/opt/sfw \
--with-t1lib=/asd/metallo1/server/libs/t1 \
--with-xmlrpc \
--with-mysql=/export/dredox1/devel_server/mysql

and the make lines where the problem happens are at the end (they are HUGE).

I even tried "/bin/bash libtool ..." w/o success

Here are the lines:


/bin/sh libtool --mode=link gcc -export-dynamic -DPHP_ATOM_INC -I/home/jesusmc/devel/php/php4/include -I/home/jesusmc/devel/php/php4/main -I/home/jesusmc/devel/php/php4 -I/home/jesusmc/devel/php/php4/Zend -I/opt/sfw/include/freetype -I/asd/metallo1/server/libs/t1/include -I/asd/metallo1/server/libs/gd-1.8.4/include -I/export/dredox1/devel_server/mysql/include/mysql -I/home/jesusmc/devel/php/php4/ext/xml/expat -I/usr/local/include  -D_POSIX_PTHREAD_SEMANTICS -I/home/jesusmc/devel/php/php4/TSRM -g -O2  -L/usr/ucblib -L/opt/sfw/lib -L/asd/metallo1/server/libs/t1/lib -L/asd/metallo1/server/libs/gd-1.8.4/lib -L/export/dredox1/devel_server/mysql/lib/mysql -L/usr/local/lib  -R /usr/ucblib -R /opt/sfw/lib -R /asd/metallo1/server/libs/t1/lib -R /asd/metallo1/server/libs/gd-1.8.4/lib -R /export/dredox1/devel_server/mysql/lib/mysql -R /usr/local/lib ext/zlib/zlib.lo ext/zlib/zlib_fopen_wrapper.lo ext/bcmath/bcmath.lo ext/bcmath/number.lo ext/bcmath/libbcmath/src/add.lo ext/bcmath/libbcmath/src/div.lo ext/bcmath/libbcmath/src/init.lo ext/bcmath/libbcmath/src/neg.lo ext/bcmath/libbcmath/src/outofmem.lo ext/bcmath/libbcmath/src/raisemod.lo ext/bcmath/libbcmath/src/rt.lo ext/bcmath/libbcmath/src/sub.lo ext/bcmath/libbcmath/src/compare.lo ext/bcmath/libbcmath/src/divmod.lo ext/bcmath/libbcmath/src/int2num.lo ext/bcmath/libbcmath/src/num2long.lo ext/bcmath/libbcmath/src/output.lo ext/bcmath/libbcmath/src/recmul.lo ext/bcmath/libbcmath/src/sqrt.lo ext/bcmath/libbcmath/src/zero.lo ext/bcmath/libbcmath/src/debug.lo ext/bcmath/libbcmath/src/doaddsub.lo ext/bcmath/libbcmath/src/nearzero.lo ext/bcmath/libbcmath/src/num2str.lo ext/bcmath/libbcmath/src/raise.lo ext/bcmath/libbcmath/src/rmzero.lo ext/bcmath/libbcmath/src/str2num.lo ext/calendar/calendar.lo ext/calendar/dow.lo ext/calendar/french.lo ext/calendar/gregor.lo ext/calendar/jewish.lo ext/calendar/julian.lo ext/calendar/easter.lo ext/calendar/cal_unix.lo ext/ctype/ctype.lo ext/ftp/php_ftp.lo ext/ftp/ftp.lo ext/gd/gd.lo ext/gd/gdcache.lo ext/gd/gdttf.lo ext/gd/gdt1.lo ext/mbstring/mbfilter_ja.lo ext/mbstring/mbfilter_cn.lo ext/mbstring/mbfilter_tw.lo ext/mbstring/mbfilter_kr.lo ext/mbstring/mbfilter_ru.lo ext/mbstring/mbfilter.lo ext/mbstring/mbstring.lo ext/mbstring/mbregex.lo ext/mbstring/php_mbregex.lo ext/mysql/php_mysql.lo ext/overload/overload.lo ext/pcntl/pcntl.lo ext/pcntl/php_signal.lo ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.lo ext/posix/posix.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_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/parsedate.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.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_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/aggregation.lo ext/tokenizer/tokenizer.lo ext/wddx/wddx.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/xml/expat/xmltok.lo ext/xmlrpc/xmlrpc-epi-php.lo ext/xmlrpc/libxmlrpc/base64.lo ext/xmlrpc/libxmlrpc/simplestring.lo ext/xmlrpc/libxmlrpc/xml_to_dandarpc.lo ext/xmlrpc/libxmlrpc/xmlrpc_introspection.lo ext/xmlrpc/libxmlrpc/encodings.lo ext/xmlrpc/libxmlrpc/system_methods.lo ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.lo ext/xmlrpc/libxmlrpc/queue.lo ext/xmlrpc/libxmlrpc/xml_element.lo ext/xmlrpc/libxmlrpc/xmlrpc.lo ext/xmlrpc/libxmlrpc/xml_to_soap.lo regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_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_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/streams.lo main/network.lo main/php_open_temporary_file.lo main/php_logos.lo main/output.lo main/memory_streams.lo main/user_streams.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_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo main/internal_functions.lo -lexpat -lmysqlclient -lgd -lt1 -lttf -lX11 -lXpm -lpng -lz -ljpeg -lz -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lsocket -lsocket -lcrypt -ldl -o php
Output line too long.
Output line too long.
Output line too long.
gcc -DPHP_ATOM_INC -I/home/jesusmc/devel/php/php4/include -I/home/jesusmc/devel/php/php4/main -I/home/jesusmc/devel/php/php4 -I/home/jesusmc/devel/php/php4/Zend -I/opt/sfw/include/freetype -I/asd/metallo1/server/libs/t1/include -I/asd/metallo1/server/libs/gd-1.8.4/include -I/export/dredox1/devel_server/mysql/include/mysql -I/home/jesusmc/devel/php/php4/ext/xml/expat -I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -I/home/jesusmc/devel/php/php4/TSRM -g -O2 ext/zlib/zlib.o ext/zlib/zlib_fopen_wrapper.o ext/bcmath/bcmath.o ext/bcmath/number.o ext/bcmath/libbcmath/src/add.o ext/bcmath/libbcmath/src/div.o ext/bcmath/libbcmath/src/init.o ext/bcmath/libbcmath/src/neg.o ext/bcmath/libbcmath/src/outofmem.o ext/bcmath/libbcmath/src/raisemod.o ext/bcmath/libbcmath/src/rt.o ext/bcmath/libbcmath/src/sub.o ext/bcmath/libbcmath/src/compare.o ext/bcmath/libbcmath/src/divmod.o ext/bcmath/libbcmath/src/int2num.o ext/bcmath/libbcmath/src/num2long.o ext/bcmath/libbcmath/src/output.o ext/bcmath/libbcmath/src/recmul.o ext/bcmath/libbcmath/src/sqrt.o ext/bcmath/libbcmath/src/zero.o ext/bcmath/libbcmath/src/debug.o ext/bcmath/libbcmath/src/doaddsub.o ext/bcmath/libbcmath/src/nearzero.o ext/bcmath/libbcmath/src/num2str.o ext/bcmath/libbcmath/src/raise.o ext/bcmath/libbcmath/src/rmzero.o ext/bcmath/libbcmath/src/str2num.o ext/calendar/calendar.o ext/calendar/dow.o ext/calendar/french.o ext/calendar/gregor.o ext/calendar/jewish.o ext/calendar/julian.o ext/calendar/easter.o ext/calendar/cal_unix.o ext/ctype/ctype.o ext/ftp/php_ftp.o ext/ftp/ftp.o ext/gd/gd.o ext/gd/gdcache.o ext/gd/gdttf.o ext/gd/gdt1.o ext/mbstring/mbfilter_ja.o ext/mbstring/mbfilter_cn.o ext/mbstring/mbfilter_tw.o ext/mbstring/mbfilter_kr.o ext/mbstring/mbfilter_ru.o ext/mbstring/mbfilter.o ext/mbstring/mbstring.o ext/mbstring/mbregex.o ext/mbstring/php_mbregex.o ext/mysql/php_mysql.o ext/overload/overload.o ext/pcntl/pcntl.o ext/pcntl/php_signal.o ext/pcre/pcrelib/maketables.o ext/pcre/pcrelib/get.o ext/pcre/pcrelib/study.o ext/pcre/pcrelib/pcre.o ext/pcre/php_pcre.o ext/posix/posix.o ext/session/session.o ext/session/mod_files.o ext/session/mod_mm.o ext/session/mod_user.o ext/standard/array.o ext/standard/base64.o ext/standard/basic_functions.o ext/standard/browscap.o ext/standard/crc32.o ext/standard/crypt.o ext/standard/cyr_convert.o ext/standard/datetime.o ext/standard/dir.o ext/standard/dl.o ext/standard/dns.o ext/standard/exec.o ext/standard/file.o ext/standard/filestat.o ext/standard/flock_compat.o ext/standard/formatted_print.o ext/standard/fsock.o ext/standard/head.o ext/standard/html.o ext/standard/image.o ext/standard/info.o ext/standard/iptc.o ext/standard/lcg.o ext/standard/link.o ext/standard/mail.o ext/standard/math.o ext/standard/md5.o ext/standard/metaphone.o ext/standard/microtime.o ext/standard/pack.o ext/standard/pageinfo.o ext/standard/parsedate.o ext/standard/quot_print.o ext/standard/rand.o ext/standard/reg.o ext/standard/soundex.o ext/standard/string.o ext/standard/scanf.o ext/standard/syslog.o ext/standard/type.o ext/standard/uniqid.o ext/standard/url.o ext/standard/url_scanner.o ext/standard/var.o ext/standard/versioning.o ext/standard/assert.o ext/standard/strnatcmp.o ext/standard/levenshtein.o ext/standard/incomplete_class.o ext/standard/url_scanner_ex.o ext/standard/ftp_fopen_wrapper.o ext/standard/http_fopen_wrapper.o ext/standard/php_fopen_wrapper.o ext/standard/credits.o ext/standard/var_unserializer.o ext/standard/ftok.o ext/standard/aggregation.o ext/tokenizer/tokenizer.o ext/wddx/wddx.o ext/xml/xml.o ext/xml/expat/xmlparse.o ext/xml/expat/xmlrole.o ext/xml/expat/xmltok.o ext/xmlrpc/xmlrpc-epi-php.o ext/xmlrpc/libxmlrpc/base64.o ext/xmlrpc/libxmlrpc/simplestring.o ext/xmlrpc/libxmlrpc/xml_to_dandarpc.o ext/xmlrpc/libxmlrpc/xmlrpc_introspection.o ext/xmlrpc/libxmlrpc/encodings.o ext/xmlrpc/libxmlrpc/system_methods.o ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.o ext/xmlrpc/libxmlrpc/queue.o ext/xmlrpc/libxmlrpc/xml_element.o ext/xmlrpc/libxmlrpc/xmlrpc.o ext/xm -R/usr/local/lib -R/export/dredox1/devel_server/mysql/lib/mysql -R/asd/metallo1/server/libs/t1/lib -R/opt/sfw/lib -R/usr/local/lib -R/export/dredox1/devel_server/mysql/lib/mysql -R/asd/metallo1/server/libs/t1/lib -R/opt/sfw/lib -R/usr/ucblib -R/asd/metallo1/server/libs/gd-1.8.4/lib
gcc: ext/xm: No such file or directory
make: *** [php] Error 1






 [2002-05-30 02:05 UTC] jmcastagnetto@php.net
Problem is that Solaris 8 sed is badly broken (tnxs to Rasmus's comment on #php).

Just do:

# rm /bin/sed /bin/broken_sed
# cp /opt/sfw/bin/gsed /bin/sed

Assuming you had installed the extra Gnu CD from the Solaris 8 set. That should do it.
 [2002-05-30 02:07 UTC] jmcastagnetto@php.net
OOPS, I meant:

# mv /bin/sed /bin/broken_sed

Although you might as well get rid of that broken sed
 [2002-09-04 09:46 UTC] phpbug at johnzero dot hu
Could "configure" check for a broken sed on Solaris? It would be very helpful.
I tried PHP 4 CVS, and ran into the same problem today :-(

GNU sed solved my problems, too.
 [2002-11-08 20:04 UTC] sniper@php.net
There is a check now in configure..forgot to add comment about it when I added it. It will bail out if the sed found in PATH does not work.

 [2003-01-07 08:57 UTC] helmut at phpwebservices dot com
Sniper says there is a check in configure now... 
It does not seem to be there as configure gives no warning about the
broken sed in Solaris...and my make just failed due to this.  I am trying to install 4.3.0.  Please
revisit the configure check for the broken sed...  Also, if a comment about the broken sed could be put into the Solaris 8 documentation as well it would save folks a lot of time and heartburn.  Thx.
 [2003-03-19 06:42 UTC] qwqwqw at twirl dot mcc dot ac dot uk
The error msg comes from Sun's sed.  Apply Sun patches
110165 (sparc) or 110166 (x86) to fix sed.
Unfortunately these patches are only available to those with a support contract.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 23:01:28 2024 UTC