On Tue, February 28, 2006 15:38, Ronny Haryanto wrote:
> On Tue, Feb 28, 2006 at 01:22:14PM +0700, Adrian wrote:
>> jika saya paksakan meng-configure dengan opsi --host (sesuai dengan
>> error
>> message diatas), gak bermasalah tapi bermasalah saat kompilasi (make).
>
> Itu kan dia bilang juga _IF_ you are cross-compiling. Kalo anda pake
> arch x86 dan compile utk arch x86 yg sama berarti anda tidak
> cross-compiling. Lain cerita kalo anda pake ppc dan mau compile utk
> x86 misalnya.
>
> Cek config.log seperti yg sudah disarankan.
>
> Ronny

betul, saya nyoba aja pake opsi --host. kali aja bisa, ternyata gak juga.

saya sudah coba cari clue di config.log tapi gak tau yang mana. saya paste
disini potongan config.log:

Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--host=i386-redhat-linux
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
configure:2125: $? = 0
configure:2127: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2130: $? = 1
configure:2153: checking for C compiler default output file name
configure:2156: gcc    conftest.c  >&5
configure:2159: $? = 0
configure:2205: result: a.out
configure:2210: checking whether the C compiler works
configure:2216: ./a.out
./configure: line 2217:  8234 Segmentation fault      ./$ac_file
configure:2219: $? = 139
configure:2228: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

config.log diatas didapat saat saya meng-configure tnef tanpa opsi apapun.


salam,
Adrian
------------------------
http://adrian.bahana.net


---------------
Now that the war is through with me
I'm waking up I can not see
That there is not much left of me
Nothing is real but pain now
("One", Metallica)


-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke