[ASK] error compile lusca ubuntu 12.10 server

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
j1p
Posts: 1
Joined: 22 May 2013, 10:24
Location: jambi
Contact:

[ASK] error compile lusca ubuntu 12.10 server

Postby j1p » 22 May 2013, 14:39

permisi rekan2 FUI yg baik2,
mau berbagi kesusahan sdikit. mohon bantuan rekan2 sekalian, ane selalu gagal compile lusca d ubuntu 12.10 server, udah ngikutin tutor yang di mari :
http://ubuntu-indonesia.com/forums/ubbt ... Post129656

sama di sini http://brianrahimsyah.com/install-lusca ... omment-396

selalu gagal, output errornya gini ni :hajarpc: :

Code: Select all

root@Proxy:~/LUSCA_HEAD-r14809#
CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=corei5 -O2 -pipe" CXXFLAGS="${CFLAGS}" \
> ./configure -prefix=/usr -exec-prefix=/usr -bindir=/usr/sbin -sbindir=/usr/sbin \
> -libexecdir=/usr/lib/squid -sysconfdir=/etc/squid -localstatedir=/var/spool/squid \
> -datadir=/usr/share/squid --enable-gnuregex --enable-async-io=24 --with-aufs-threads=24 \
> --with-pthreads --with-aio --with-dl --enable-storeio=aufs,null \
> --enable-removal-policies=heap --enable-icmp --enable-delay-pools --disable-wccp \
> --enable-snmp --enable-cache-digests --enable-default-err-language=English \
> --enable-err-languages=English --enable-linux-netfilter --disable-ident-lookups \
> --with-maxfd=65535 --enable-follow-x-forwarded-for --enable-large-cache-files \
> --with-large-files --enable-referer-log
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.


mohon bantuan analisa rekan2 FUI sekalian. :)
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [ASK] error compile lusca ubuntu 12.10 server

Postby q_p » 22 May 2013, 18:06

^
  • Link pertama yang anda tunjuk itu untuk mesin yang sudah pernah di compile, itulah sebabnya kami menyebutnya re-compile.
  • Jika pada mesin anda belum pernah di compile lusca, pastikan aplikasi2 yang diperlukan ter-install dulu. Dalam hal ini anda bisa merujuk ke link ke-2 yang anda tunjuk di atas.
User avatar
nif
Posts: 2816
Joined: 31 Mar 2011, 07:48

Re: [ASK] error compile lusca ubuntu 12.10 server

Postby nif » 23 May 2013, 08:24

j1p wrote:...
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

masalah di gcc? :confused:
paling mudah, coba install ulang dulu aja gcc
sudo apt-get install --reinstall gcc

cmiiw
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [ASK] error compile lusca ubuntu 12.10 server

Postby q_p » 23 May 2013, 08:34

Iya mas nif.
Diperlukan tool2 pendukung, biasanya teman2 meng-install ini =
squid squidclient squid-cgi gcc build-essential sharutils ccze libzip-dev automake1.9
dan sebelum di-compile perlu dilakukan patching untuk menambahkan beberapa opsi pada saat compilling.

Return to “Ubuntu Server”

Who is online

Users browsing this forum: Google [Bot] and 1 guest