NO. I can no more compile other pkgs. From: /opkg/bin/openpkg rpm --rebuild ftp://ftp.openpkg.org/release/2.1/SRC/m4-1.4.1-2.1.0.src.rpm
I got: Executing(%build): env -i /opkg/lib/openpkg/bash --norc --noprofile --posix -e /opkg/RPM/TMP/rpm-tmp.27122 + cd /opkg/RPM/TMP + cd m4-1.4.1 + CC=/opkg/bin/cc + CFLAGS=-O2 -pipe + ./configure --prefix=/opkg --disable-nls checking for gawk... gawk checking for gcc... /opkg/bin/cc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.27122 (%build) In config.log I found: Thread model: posix gcc version 3.4.1 (OpenPKG-2.1) configure:1699: $? = 0 configure:1701: /opkg/bin/cc -V </dev/null >&5 cc: `-V' option must have argument configure:1704: $? = 1 configure:1727: checking for C compiler default output file name configure:1730: /opkg/bin/cc -O2 -pipe conftest.c >&5 /opkg/bin/ld: cannot open crt1.o: No such file or directory collect2: ld returned 1 exit status configure:1733: $? = 1 echo :::: ftp://ftp.openpkg.org/release/2.1/UPD/apache-1.3.31-2.1.2.src.rpm :::: /opkg/bin/openpkg rpm --define 'with_mod_auth_ldap yes' --define 'with_mod_auth_mysql yes' --define 'with_mod_auth_pam yes' --define 'with_mod_fastcgi yes' --define 'with_mod_gzip yes' --define 'with_mod_perl yes' --define 'with_mod_php yes' --define 'with_mod_php_bdb yes' --define 'with_mod_php_bzip2 yes' --define 'with_mod_php_curl yes' --define 'with_mod_php_dom yes' --define 'with_mod_php_ftp yes' --define 'with_mod_php_gettext yes' --define 'with_mod_php_imap yes' --define 'with_mod_php_mcrypt yes' --define 'with_mod_php_mhash yes' --define 'with_mod_php_mm yes' --define 'with_mod_php_mysql yes' --define 'with_mod_php_openldap yes' --define 'with_mod_php_pcre yes' --define 'with_mod_php_pgsql yes' --define 'with_mod_php_ssl yes' --define 'with_mod_php_xml yes' --define 'with_mod_php_zlib yes' --define 'with_mod_ssl yes' --define 'with_mod_throttle yes' --define 'with_suexec_caller opkg-n' --define 'with_suphp_caller opkg-n' --define 'with_suphp_phpcgi /opkg/cgi/php' --rebuild ftp://ftp.openpkg.org/release/2.1/UPD/apache-1.3.31-2.1.2.src.rpm || exit $? /opkg/bin/openpkg rpm --force -Uvh /opkg/RPM/PKG/apache-1.3.31-2.1.2.ix86-rhl7.3-opk.rpm || exit $?echo :::: ftp://ftp.openpkg.org/release/2.1/UPD/apache-1.3.31-2.1.2.src.rpm = $? :::: Citando Michael Schloh von Bennewitz <[EMAIL PROTECTED]>: > Ah, I fear my previous answer to you did not hit the target. > > (reading your question again) > > On Wed, Aug 04, 2004, Alexander Belck wrote: > > A few days ago I removed gcc from the underlying OS. > > Today I tryed to rebuild apache in openpkg-2.1 and got following error: > > > > ./configure:Error: Building of 'patch' tool failed: > > ------------------------------------------------- > > patch/rename.c > > patch/util.c > > patch/util.h > > patch/version.c > > patch/version.h > > creating cache ./config.cache > > checking for gcc... gcc > > checking whether the C compiler (gcc ) works... no > > configure: error: installation or configuration problem: C compiler cannot > > create executables. > > make: *** No targets specified and no makefile found. Stop. > > ------------------------------------------------- > > Hint: Either try to build 'patch' under etc/patch/ > > Hint: manually and re-run this 'configure' script > > Hint: or provide us the path to your vendor 'patch' > > Hint: program via the --with-patch=FILE option (but > > Hint: expect perhaps failures when applying patches!) > > + exit 1 > > error: Bad exit status from /opkg/RPM/TMP/rpm-tmp.66317 (%build) > > > > [EMAIL PROTECTED] PKG]# openpkg rpm -q gcc > > gcc-3.4.1-2.1.0 > > > > Does openpkg-gcc needs the underlaying OS-gcc ? > > > No, in fact it is okay if the OpenPKG GCC is the only compiler on > the system. > > > Or is ther some error in the apdated apache ? > > > I doubt it. Please help us diagnose this problem by telling you OS version, > hardware architecture, and tell what '/opkg/bin/openpkg rpm -qa' > returns as well. > > Please verify as well that you are building apache really and not apache2, > patch, or some other package. I assume that your command was so: > > /opkg/bin/openpkg rpm --rebuild > ftp://ftp.openpkg.org/release/2.1/UPD/apache-1.3.31-2.1.2.src.rpm > > ... with whatever --define 'with_options yes' that you have (for example > with_php...). > > And lastly, can you build other packages or do they all fail with a similar > 'C compiler cannot create executables'? Try building m4: > > /opkg/bin/openpkg rpm --rebuild > ftp://ftp.openpkg.org/release/2.1/SRC/m4-1.4.1-2.1.0.src.rpm > > Saludos y suerte, > Michael > > -- > Michael Schloh von Bennewitz <[EMAIL PROTECTED]> > Development Team, Operations Northern Europe > Cable & Wireless Telecommunications Services > Tel +49-89-92699-227, Fax +49-89-92699-808 > -- ATIX Tecnologia e Com Ltda Tel.: +55-(11) 4667-5900 ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
