BMS-HOSxP Community

HOSxP => Linux => ข้อความที่เริ่มโดย: Apiruk_Jbhos ที่ ธันวาคม 27, 2008, 02:20:08 AM

หัวข้อ: อยากถามวิธีการ Upgrade squid ครับ
เริ่มหัวข้อโดย: Apiruk_Jbhos ที่ ธันวาคม 27, 2008, 02:20:08 AM
สวสัดีครับ อยากได้ขั้นตอนการ Upgrade Squid ครับ จากเดิม 2.6 จะลอง up เป็น 3.0 ครับ
ผมลองลงใหม่ แต่ Make ไม่ผ่านครับ หาวิธีแก้ยังไม่ได้ครับ
[root@webproxy squid-3.0.STABLE11]# ./configure --prefix=/usr/local/squid
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@webproxy squid-3.0.STABLE11]# make
make: *** No targets specified and no makefile found.  Stop.
[root@webproxy squid-3.0.STABLE11]#

ใช้กับ CentOs 5.1 ครับ ตัวเก่าลงบน Fedora ได้ครับ
หัวข้อ: Re: อยากถามวิธีการ Upgrade squid ครับ
เริ่มหัวข้อโดย: doramon ที่ ธันวาคม 27, 2008, 11:35:08 AM
Gcc ยังไม่ได้ลงครับ

yum install gcc
หัวข้อ: Re: อยากถามวิธีการ Upgrade squid ครับ
เริ่มหัวข้อโดย: Apiruk_Jbhos ที่ ธันวาคม 28, 2008, 12:17:34 PM
พี่ครับ ลงแล้วมาติดตรงนี้ครับ
[root@webproxy squid-3.0.STABLE11]# make
Making all in lib
make[1]: Entering directory `/tmp/squid-3.0.STABLE11/lib'
Making all in libTrie
make[2]: Entering directory `/tmp/squid-3.0.STABLE11/lib/libTrie'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/tmp/squid-3.0.STABLE11/lib/libTrie'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/squid-3.0.STABLE11/lib'
make: *** [all-recursive] Error 1
หัวข้อ: Re: อยากถามวิธีการ Upgrade squid ครับ
เริ่มหัวข้อโดย: doramon ที่ ธันวาคม 28, 2008, 12:26:12 PM
พี่ครับ ลงแล้วมาติดตรงนี้ครับ
[root@webproxy squid-3.0.STABLE11]# make
Making all in lib
make[1]: Entering directory `/tmp/squid-3.0.STABLE11/lib'
Making all in libTrie
make[2]: Entering directory `/tmp/squid-3.0.STABLE11/lib/libTrie'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/tmp/squid-3.0.STABLE11/lib/libTrie'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/squid-3.0.STABLE11/lib'
make: *** [all-recursive] Error 1


ไม่เคยใช้  3.0 เคยใช้แต่ 2.6