On Tue, February 28, 2006 13:15, Andika Triwidada wrote:
> On 2/28/06, Adrian <[EMAIL PROTECTED]> wrote:
>> rekans,
>>
>> setiap akan melakukan instalasi via source code selalu gagal ditahap
>> configure dengan error message sebagai berikut:
>>
>> checking for gcc... gcc
>> checking for C compiler default output file name... a.out
>> checking whether the C compiler works... configure: error: cannot run C
>> compiled programs.
>> If you meant to cross compile, use `--host'.
>> See `config.log' for more details.
>>
>> sudah coba googling tapi gak ada yang sesuai dengan masalah saya.
>
> Barangkali hasil compile diletakkan di direktori yang di-mount dengan
> opsi noexec?
>
> Tolong hasil perintah mount ditampilkan.

dari hasil googling, salah satunya di http://eradman.com/solution/1037
mengatakan seperti yang dikatakan diatas.

berikut ini hasil perintah mount:
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
automount(pid5953) on /net type autofs
(rw,fd=4,pgrp=5953,minproto=2,maxproto=4)

dan ini isi file fstab:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda3               swap                   swap    defaults        0 0
/dev/hdd                /media/cdrom            auto   
pamconsole,exec,noauto,managed 0 0

saya sudah bandingkan dengan mesin yang lain (redhat, gak ada fc4 yang
lain) sama saja, tapi gak bermasalah saat kompilasi.
apakah ada yang harus diubah?

jika saya paksakan meng-configure dengan opsi --host (sesuai dengan error
message diatas), gak bermasalah tapi bermasalah saat kompilasi (make).

error message saat make:
malloc.c:30: error: conflicting types for 'malloc'
make[3]: *** [malloc.o] Error 1
make[3]: Leaving directory `/usr/local/src/tnef-1.3.4/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/tnef-1.3.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/tnef-1.3.4'
make: *** [all] Error 2

saat ini saya masih mencoba petunjuk-petunjuk hasil googling dan masih
belum bisa juga.

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

---------------
Pleased to meet you
Hope you guess my name
But what's puzzling you
Is the nature of my game
("Sympathy for the Devil", Rolling Stones)


-- 
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