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

Attachment: pgpJn7LxuBTnG.pgp
Description: PGP signature

Reply via email to