LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   configure: error: no acceptable C compiler found in $PATH ......... (MacPup_Foxy 3.0) (https://www.linuxquestions.org/questions/linux-newbie-8/configure-error-no-acceptable-c-compiler-found-in-%24path-macpup_foxy-3-0-a-777236/)

jay_pablo_69 12-21-2009 10:04 AM

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.

David1357 12-21-2009 11:52 AM

Quote:

Originally Posted by jay_pablo_69 (Post 3800011)
See `config.log' for more details.

What's in "config.log"? There is a good reason it tells you to look in there.

jay_pablo_69 12-22-2009 12:31 AM

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!

Nylex 12-22-2009 12:33 AM

Where is gcc installed? If that directory is not in your $PATH, it needs to be added.

jay_pablo_69 12-22-2009 01:33 AM

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.

Nylex 12-22-2009 02:58 AM

Quote:

Originally Posted by jay_pablo_69 (Post 3800908)
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.

David1357 12-22-2009 09:40 AM

Quote:

Originally Posted by jay_pablo_69 (Post 3800908)
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.

jay_pablo_69 12-22-2009 11:30 AM

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

David1357 12-22-2009 12:02 PM

Quote:

Originally Posted by jay_pablo_69 (Post 3801395)
@ 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.

Nylex 12-22-2009 12:07 PM

Quote:

Originally Posted by jay_pablo_69 (Post 3801395)
@ 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.

jay_pablo_69 12-25-2009 11:43 PM

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.

;)

Nylex 12-26-2009 01:17 AM

Good work. Could you mark your thread as solved then, please?


All times are GMT -5. The time now is 03:58 PM.