LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 07-13-2005, 12:50 PM   #1
agentdunken
Member
 
Registered: Jun 2005
Location: Surprise, AZ
Distribution: Gentoo
Posts: 41

Rep: Reputation: 15
no acceptable C compiler found in $PATH


Hell all. Every time I go to install any source apps like .tar.gz and .tar.bz2 I this error message:

Code:
adam@ip68-228-229-136:~/programs/kpad-1.0.1> ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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.
adam@ip68-228-229-136:~/programs/kpad-1.0.1>
Eh? Can suse 9.3 install source packages? Eh? Please help.
 
Old 07-13-2005, 01:13 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
My guess is you need to install gcc.
 
Old 07-13-2005, 01:14 PM   #3
cuiq
Member
 
Registered: Aug 2004
Location: Philly
Distribution: Debian Lenny, FreeBSD
Posts: 577

Rep: Reputation: 30
You need to use Yast to install:

gcc

which is found under the Development package listing.
 
Old 07-13-2005, 01:30 PM   #4
agentdunken
Member
 
Registered: Jun 2005
Location: Surprise, AZ
Distribution: Gentoo
Posts: 41

Original Poster
Rep: Reputation: 15
Thank you. I installed gcc but now im getting this error.

Code:
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... configure: error: not found.
          Possibly configure picks up an outdated version
          installed by XFree86. Remove it from your system.

          Check your installation and look into config.log
adam@ip68-228-229-136:~/programs/tolosa-0.2>
I went into yast and type libz and I installed all the libz that came up but it still don't work... help please..
 
Old 07-13-2005, 01:32 PM   #5
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Look into config.log, as it suggested. If you post the specific error from there, then we can try to help you with that.
 
Old 07-13-2005, 02:07 PM   #6
agentdunken
Member
 
Registered: Jun 2005
Location: Surprise, AZ
Distribution: Gentoo
Posts: 41

Original Poster
Rep: Reputation: 15
Here is what the log said :

Code:
onfigure:27786: checking for libz
configure:27821: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2   -Wformat-security -Wmissing-format-attribute -I/usr/X11R6/include   -D_REENTRANT  conftest.c -L/usr/X11R6/lib  -lz  >&5
conftest.c:42:17: zlib.h: No such file or directory
conftest.c: In function `main':
conftest.c:49: error: `gzFile' undeclared (first use in this function)
conftest.c:49: error: (Each undeclared identifier is reported only once
conftest.c:49: error: for each function it appears in.)
conftest.c:49: error: syntax error before "f"
conftest.c:51: warning: implicit declaration of function `gzgets'
conftest.c:51: error: `f' undeclared (first use in this function)
conftest.c:53: warning: implicit declaration of function `zlibVersion'
conftest.c:53: error: `ZLIB_VERSION' undeclared (first use in this function)
configure:27827: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "Tolosa"
| #define VERSION "0.1"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define KDELIBSUFF ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_SGI_STL 1
| #define HAVE_CRYPT 1
| #define ksize_t socklen_t
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_RES_INIT 1
| #define HAVE_RES_INIT 1
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 4
| #define SIZEOF_CHAR_P 4
| #define SIZEOF_SIZE_T 4
| #define SIZEOF_UNSIGNED_LONG 4
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| /* end confdefs.h.  */
| 
| #include<zlib.h>
| 
| int
| main ()
| {
| 
|   char buf[42];
|   gzFile f = (gzFile) 0;
|   /* this would segfault.. but we only link, don't run */
|   (void) gzgets(f, buf, sizeof(buf));
| 
|   return (zlibVersion() == ZLIB_VERSION);
| 
|   ;
|   return 0;
| }
configure:27869: error: not found.
          Possibly configure picks up an outdated version
          installed by XFree86. Remove it from your system.

          Check your installation and look into config.log
Is that it??
 
Old 07-13-2005, 02:53 PM   #7
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
That's it. You installed any zlib packages applicable to your system? Try running
Code:
find /usr/include -name 'zlib.h'
 
Old 07-13-2005, 03:00 PM   #8
agentdunken
Member
 
Registered: Jun 2005
Location: Surprise, AZ
Distribution: Gentoo
Posts: 41

Original Poster
Rep: Reputation: 15
Ok I installed zlib and now i'm getting this error :



Eh? I went and looked in my config log but I got really confussed.


Last edited by agentdunken; 07-13-2005 at 03:10 PM.
 
Old 07-13-2005, 03:10 PM   #9
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Again, this is a missing dependency issue. This time, you need to install the qt libraries.
 
Old 07-13-2005, 03:11 PM   #10
agentdunken
Member
 
Registered: Jun 2005
Location: Surprise, AZ
Distribution: Gentoo
Posts: 41

Original Poster
Rep: Reputation: 15
Ok fixed that but now this :

Code:
checking for rpath... yes
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!
adam@ip68-228-229-136:~/programs/tolosa-0.2>
Eh? I have KDE. I'm using KDE. KDE is the only WM I have. KDE 3.4.0... help please
 
Old 07-13-2005, 03:15 PM   #11
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
And now it wants the KDE headers (which would be used, for example, to compile KDE from source).
 
Old 07-13-2005, 03:17 PM   #12
agentdunken
Member
 
Registered: Jun 2005
Location: Surprise, AZ
Distribution: Gentoo
Posts: 41

Original Poster
Rep: Reputation: 15
How would I get KDE headers? I open yast and type in KDE headers but nothing came up for it..
 
Old 07-13-2005, 03:41 PM   #13
agentdunken
Member
 
Registered: Jun 2005
Location: Surprise, AZ
Distribution: Gentoo
Posts: 41

Original Poster
Rep: Reputation: 15
Ok I was able to get the KDE headers but now I have another problem. I get this error now when I do "make".



Code:
./xpm/borders/button.xpm:54: warning: deprecated conversion from string
   constant to `char*'
../xpm/borders/button.xpm:54: warning: deprecated conversion from string
   constant to `char*'
../xpm/borders/button.xpm:54: warning: deprecated conversion from string
   constant to `char*'
../xpm/borders/button.xpm:54: warning: deprecated conversion from string
   constant to `char*'
../xpm/borders/button.xpm:54: warning: deprecated conversion from string
   constant to `char*'
../xpm/borders/button.xpm:54: warning: deprecated conversion from string
   constant to `char*'
../xpm/borders/button.xpm:54: warning: deprecated conversion from string
   constant to `char*'
../xpm/borders/button.xpm:54: warning: deprecated conversion from string
   constant to `char*'
../xpm/borders/button.xpm:54: warning: deprecated conversion from string
   constant to `char*'
../xpm/borders/button.xpm:54: warning: deprecated conversion from string
   constant to `char*'
In file included from Tolosaclient.cc:41:
../xpm/borders/cbl.xpm:10: warning: deprecated conversion from string constant
   to `char*'
../xpm/borders/cbl.xpm:10: warning: deprecated conversion from string constant
   to `char*'
../xpm/borders/cbl.xpm:10: warning: deprecated conversion from string constant
   to `char*'
../xpm/borders/cbl.xpm:10: warning: deprecated conversion from string constant
   to `char*'
Code:
   class cannot be static
In file included from /usr/lib/qt3/include/qasciidict.h:42,
                 from /usr/lib/qt3/include/qapplication.h:43,
                 from Tolosaclient.moc:13,
                 from Tolosaclient.cc:1009:
/usr/lib/qt3/include/qgdict.h: At global scope:
/usr/lib/qt3/include/qgdict.h:168: error: conflicting types for `struct
   TolosaButton::QConnection::~QConnection()::QGDictIterator'
/usr/lib/qt3/include/qgdict.h:46: error: previous declaration as `struct
   TolosaButton::QConnection::~QConnection()::QGDictIterator'
/usr/lib/qt3/include/qgdict.h: In destructor `
   TolosaButton::QConnection::~QConnection()':
/usr/lib/qt3/include/qgdict.h:197: error: cannot declare member function `
   TolosaButton::QConnection::~QConnection()::QGDictIterator::get' within `
   TolosaButton::QConnection'
/usr/lib/qt3/include/qgdict.h:197: error: syntax error before `{' token
/usr/lib/qt3/include/qgdict.h:202: error: cannot declare member function `
   TolosaButton::QConnection::~QConnection()::QGDictIterator::getKeyString'
   within `TolosaButton::QConnection'
/usr/lib/qt3/include/qgdict.h:202: error: syntax error before `{' token
/usr/lib/qt3/include/qgdict.h:207: error: cannot declare member function `
   TolosaButton::QConnection::~QConnection()::QGDictIterator::getKeyAscii'
   within `TolosaButton::QConnection'
/usr/lib/qt3/include/qgdict.h:207: error: syntax error before `{' token
/usr/lib/qt3/include/qgdict.h:212: error: cannot declare member function `
   TolosaButton::QConnection::~QConnection()::QGDictIterator::getKeyInt' within
   `TolosaButton::QConnection'
/usr/lib/qt3/include/qgdict.h:212: error: syntax error before `{' token
/usr/lib/qt3/include/qgdict.h:217: error: cannot declare member function `
   TolosaButton::QConnection::~QConnection()::QGDictIterator::getKeyPtr' within
   `TolosaButton::QConnection'
/usr/lib/qt3/include/qgdict.h:217: error: syntax error before `{' token
In file included from /usr/lib/qt3/include/qapplication.h:43,
                 from Tolosaclient.moc:13,
                 from Tolosaclient.cc:1009:
/usr/lib/qt3/include/qasciidict.h:52: error: base class `QGDict' has incomplete
   type
/usr/lib/qt3/include/qasciidict.h:86: error: syntax error before `)' token
/usr/lib/qt3/include/qasciidict.h: In member function `void
   TolosaButton::QConnection::~QConnection()::QAsciiDict<type>::insert(const
   char*, const type*)':
/usr/lib/qt3/include/qasciidict.h:65: error: syntax error before `;' token
/usr/lib/qt3/include/qasciidict.h: In member function `void
   TolosaButton::QConnection::~QConnection()::QAsciiDict<type>::replace(const
   char*, const type*)':
/usr/lib/qt3/include/qasciidict.h:67: error: syntax error before `;' token
/usr/lib/qt3/include/qasciidict.h: In destructor `
   TolosaButton::QConnection::~QConnection()':
/usr/lib/qt3/include/qasciidict.h:90: error: explicit specialization in
   non-namespace scope `TolosaButton::QConnection::~QConnection()'
/usr/lib/qt3/include/qconnection.h:49: confused by earlier errors, bailing out
make[3]: *** [Tolosaclient.lo] Error 1
make[3]: Leaving directory `/home/adam/programs/tolosa-0.2/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/adam/programs/tolosa-0.2/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/adam/programs/tolosa-0.2'
make: *** [all] Error 2
ip68-228-229-136:/home/adam/programs/tolosa-0.2 #
I broke it down into the thingys cause theres a lot of it.

What does that mean???? Please help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no acceptable C compiler found in $path scottown Red Hat 12 04-09-2013 08:44 PM
no acceptable C compiler found in $PATH sinXposed Linux - Software 4 08-10-2006 02:14 PM
no acceptable C compiler found in $PATH rhraz Mandriva 9 08-01-2006 07:03 PM
no acceptable C compiler found in $PATH AL MOSLEM Programming 19 02-08-2005 10:03 AM
no acceptable C compiler found in $PATH skrothuset Linux - Newbie 4 06-13-2003 06:11 AM


All times are GMT -5. The time now is 03:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration