Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-21-2009, 10:04 AM
|
#1
|
Member
Registered: Dec 2009
Posts: 60
Rep:
|
configure: error: no acceptable C compiler found in $PATH ......... (MacPup_Foxy 3.0)
Hi,
I am trying to install chinese fonts on my system (macpup_foxy3). i downloaded scim-pinyin-0.5.91.tar.gz and now trying to install but i got this error:
# cd my_downloads
# ls
scim-pinyin-0.5.91.tar.gz
# tarv zxf scim-pinyin-0.5.91.tar.gz
bash: tarv: command not found
# tar zxf scim-pinyin-0.5.91.tar.gz
# ls
scim-pinyin-0.5.91 scim-pinyin-0.5.91.tar.gz
# cd scim-pinyin-0.5.91
# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
i used the package installer to install the gcc-4.2.2-1 with dependencies checked but still i got this error.
1. someone pls come to my assistance and help me get this running.
2. is there any other way to install the chinese fonts and have them display in all applications?
thank you in advance.
|
|
|
12-21-2009, 11:52 AM
|
#2
|
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Rep: 
|
Quote:
Originally Posted by jay_pablo_69
See `config.log' for more details.
|
What's in "config.log"? There is a good reason it tells you to look in there.
|
|
|
12-22-2009, 12:31 AM
|
#3
|
Member
Registered: Dec 2009
Posts: 60
Original Poster
Rep:
|
This is the config.log content:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by scim-pinyin configure 0.5.91, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = puppypc
uname -m = i686
uname -r = 2.6.30.5
uname -s = Linux
uname -v = #1 SMP Tue Sep 1 15:48:26 GMT-8 2009
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/X11R7/bin
PATH: /root/my-applications/bin
PATH: /opt/samba/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1578: checking for a BSD-compatible install
configure:1633: result: /usr/bin/ginstall -c
configure:1644: checking whether build environment is sane
configure:1687: result: yes
configure:1752: checking for gawk
configure:1768: found /bin/gawk
configure:1778: result: gawk
configure:1788: checking whether make sets $(MAKE)
configure:1812: result: no
configure:1995: checking whether NLS is requested
configure:2004: result: yes
configure:2042: checking for msgfmt
configure:2076: result: no
configure:2082: checking for gmsgfmt
configure:2113: result: :
configure:2152: checking for xgettext
configure:2186: result: no
configure:2223: checking for msgmerge
configure:2256: result: no
configure:2300: checking for style of include used by make
configure:2328: result: none
configure:2399: checking for gcc
configure:2428: result: no
configure:2479: checking for cc
configure:2508: result: no
configure:2521: checking for cc
configure:2567: result: no
configure:2620: checking for cl
configure:2649: result: no
configure:2663: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_GMSGFMT=:
ac_cv_path_MSGFMT=:
ac_cv_path_MSGMERGE=:
ac_cv_path_XGETTEXT=:
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /root/my_downloads/scim-pinyin-0.5.91/missing --run aclocal-1.9'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/my_downloads/scim-pinyin-0.5.91/missing --run tar'
AR=''
AS=''
AUTOCONF='${SHELL} /root/my_downloads/scim-pinyin-0.5.91/missing --run autoconf'
AUTOHEADER='${SHELL} /root/my_downloads/scim-pinyin-0.5.91/missing --run autoheader'
AUTOMAKE='${SHELL} /root/my_downloads/scim-pinyin-0.5.91/missing --run automake-1.9'
AWK='gawk'
BUILD_INCLUDED_LIBINTL=''
CATOBJEXT=''
CC=''
CCDEPMODE=''
CFLAGS=''
CONVENIENCE_LTDL_FALSE=''
CONVENIENCE_LTDL_TRUE=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_TOOLS_FALSE=''
ENABLE_TOOLS_TRUE=''
EXEEXT=''
F77=''
FFLAGS=''
GENCAT=''
GETTEXT_PACKAGE='scim-pinyin'
GLIBC21=''
GMSGFMT=':'
HAVE_ASPRINTF=''
HAVE_POSIX_PRINTF=''
HAVE_SNPRINTF=''
HAVE_WPRINTF=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_LTDL_FALSE=''
INSTALL_LTDL_TRUE=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
KDEDIR=''
LDFLAGS=''
LIBADD_DL=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIBTOOL_EXPORT_OPTIONS=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /root/my_downloads/scim-pinyin-0.5.91/missing --run makeinfo'
MKINSTALLDIRS='$(top_builddir)/./mkinstalldirs'
MSGFMT=':'
MSGMERGE=':'
OBJDUMP=''
OBJEXT=''
PACKAGE='scim-pinyin'
PACKAGE_BUGREPORT='suzhe@tsinghua.org.cn'
PACKAGE_NAME='scim-pinyin'
PACKAGE_STRING='scim-pinyin 0.5.91'
PACKAGE_TARNAME='scim-pinyin'
PACKAGE_VERSION='0.5.91'
PATH_SEPARATOR=':'
PKG_CONFIG=''
POSUB=''
RANLIB=''
SCIM_BUILD_SETUP=''
SCIM_BUILD_SETUP_FALSE=''
SCIM_BUILD_SETUP_TRUE=''
SCIM_BUILD_SKIM_SETUP_FALSE=''
SCIM_BUILD_SKIM_SETUP_TRUE=''
SCIM_CFLAGS=''
SCIM_DATADIR=''
SCIM_GTKUTILS_CFLAGS=''
SCIM_GTKUTILS_LIBS=''
SCIM_ICONDIR=''
SCIM_KDEUTILS_CFLAGS=''
SCIM_KDEUTILS_LIBS=''
SCIM_LIBS=''
SCIM_MODULEDIR=''
SCIM_PINYIN_DATADIR=''
SCIM_PINYIN_ENABLE_SKIM_SUPPORT=''
SCIM_PINYIN_ENABLE_SKIM_SUPPORT_FALSE=''
SCIM_PINYIN_ENABLE_SKIM_SUPPORT_TRUE=''
SCIM_VERSION='1.2.0'
SET_MAKE='MAKE=make'
SHELL='/bin/sh'
SKIM_CFLAGS=''
SKIM_LIBS=''
STRIP=''
USE_INCLUDED_LIBINTL=''
USE_NLS='yes'
VERSION='0.5.91'
XGETTEXT=':'
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='#'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/root/my_downloads/scim-pinyin-0.5.91/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='$(mkinstalldirs)'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define GETTEXT_PACKAGE "scim-pinyin"
#define PACKAGE "scim-pinyin"
#define PACKAGE_BUGREPORT "suzhe@tsinghua.org.cn"
#define PACKAGE_NAME "scim-pinyin"
#define PACKAGE_STRING "scim-pinyin 0.5.91"
#define PACKAGE_TARNAME "scim-pinyin"
#define PACKAGE_VERSION "0.5.91"
#define VERSION "0.5.91"
configure: exit 1
In honesty, i don't understand any of it. Pls help. Thanks!
|
|
|
12-22-2009, 12:33 AM
|
#4
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
Where is gcc installed? If that directory is not in your $PATH, it needs to be added.
|
|
|
12-22-2009, 01:33 AM
|
#5
|
Member
Registered: Dec 2009
Posts: 60
Original Poster
Rep:
|
I used Macpup_foxy3's internal package installer to install it. i don't know where it installed it to. pls guide me. Thanks.
Here's something else i stumbled unto while playing around. i was looking for how to install Chinese fonts and have them display correctly, i decided to copy some unicode fonts from my windows vista font folder. i copied [1] simhei.ttf, [2] ukai_0.ttf (a.k.a. AR PL ZenKai Uni) [3] lingoes.ttf (fonts [2] and [3] i downloaded off the net) from windows, via USB to /usr/share/fonts/default/TTF in Macpup_foxy3 linux (maybe it's the same path for other linux distros) and VOILA! i all documents bearing chinese fonts displayed very well. i also open some .doc files and it displayed (although some weren't displaying, less than 10% missing fonts). in firefox, went to chinese websites and the fonts all displayed perfectly (before i couldn't show chinese fonts).
I'm sure this is not new but in case anybody has problem displaying asian fonts, this is very helpful. just try copying asian fonts from windows or just download them off the net (esp. true-type fonts - .ttf) into your linux font folder. close all folders and browser and reopen/restart.
Now my main problem: HOW TO INPUT CHINESE CHARACTERS? pls help.
thanks David1357 and Nylex for your kind response.
cheers.
|
|
|
12-22-2009, 02:58 AM
|
#6
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
Quote:
Originally Posted by jay_pablo_69
I used Macpup_foxy3's internal package installer to install it. i don't know where it installed it to. pls guide me. Thanks.
|
Can you try running "locate gcc" in a terminal? Is there any output?
Quote:
Now my main problem: HOW TO INPUT CHINESE CHARACTERS? pls help.
|
No idea about this, I'm afraid.
|
|
|
12-22-2009, 09:40 AM
|
#7
|
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Rep: 
|
Quote:
Originally Posted by jay_pablo_69
Now my main problem: HOW TO INPUT CHINESE CHARACTERS?
|
What did you select for "Country setup" when you installed Mac Puppy?
I just booted "Puppy Linux", and in "Puppy Setup" you can change the "Country Settings", which includes "Choose keyboard layout for your country". Have a look around in the menus and see if you can find something similar.
|
|
|
12-22-2009, 11:30 AM
|
#8
|
Member
Registered: Dec 2009
Posts: 60
Original Poster
Rep:
|
@ Nylex:
Quote:
"Can you try running "locate gcc" in a terminal? Is there any output?"
|
i tried running the above but i got "locate command not found".
@ David1357:
Quote:
What did you select for "Country setup" when you installed Mac Puppy?
|
i chose english-us but i tried changing the keyboard layout and it doesn't work. someone suggested installing a chinese puppy. i'll keep this as the last option.
cheers y'all.
|
|
|
12-22-2009, 12:02 PM
|
#9
|
Senior Member
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Rep: 
|
Quote:
Originally Posted by jay_pablo_69
@ David1357:
i chose english-us but i tried changing the keyboard layout and it doesn't work. someone suggested installing a chinese puppy. i'll keep this as the last option.
|
I saw three Chinese options during install, but they are not available once Puppy has started. You might try re-installing MacPup.
|
|
|
12-22-2009, 12:07 PM
|
#10
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
Quote:
Originally Posted by jay_pablo_69
@ Nylex:
i tried running the above but i got "locate command not found".
|
No idea, I'm afraid. You might want to try "mlocate" or "slocate", but I don't know unfortunately.
|
|
|
12-25-2009, 11:43 PM
|
#11
|
Member
Registered: Dec 2009
Posts: 60
Original Poster
Rep:
|
Hi guys,
i later solved the problem on how to input chinese characters. But it's not wise to leave without telling how just in case another person runs into the same chinese IME problem. i found the answer here:
http://www.murga-linux.com/puppy/viewtopic.php?t=31200
it's very descriptive.
Thanks guys once more. U guys are great.
Cheers and have a nice day.

Last edited by jay_pablo_69; 12-25-2009 at 11:52 PM.
Reason: CHINESE CHARACTER INPUT (IME)..... SOLVED!
|
|
|
12-26-2009, 01:17 AM
|
#12
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
Good work. Could you mark your thread as solved then, please?
|
|
|
All times are GMT -5. The time now is 04:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|