LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 05-07-2006, 06:39 PM   #1
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
compiling error : compiler cannot find something I have :confused:


hello Solution is on one of my messages in this thread (the one which had bold in it

I've been trying to install a program and this is what I got in the ./configure :
Code:
[zuki@nfs audacity-src-1.2.4b]$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for lib-src/libmad/frame.h... no
checking for lib-src/libvorbis/include/vorbis/vorbisenc.h... no
checking for lib-src/libid3tag/frame.h... no
checking for lib-src/libsndfile/src/sndfile.h.in... yes
checking for lib-src/libsamplerate/src/samplerate.h... no
checking for lib-src/libresample/include/libresample.h... yes
checking for lib-src/libflac/include/FLAC/format.h... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking vorbis/vorbisenc.h usability... yes
checking vorbis/vorbisenc.h presence... yes
checking for vorbis/vorbisenc.h... yes
checking id3tag.h usability... no
checking id3tag.h presence... no
checking for id3tag.h... no
checking FLAC/format.h usability... no
checking FLAC/format.h presence... no
checking for FLAC/format.h... no
--- Configuring soundtouch
--- Configuring libsndfile
--- Configuring libresample
checking for mad_decoder_init in -lmad... yes
checking for mad.h... (cached) yes
checking for vorbis_bitrate_addblock in -lvorbisfile... yes
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking for zip... /usr/bin/zip
checking for wx-config... no
configure: error: "Could not find wx-config: is wxWindows installed? is wx-config in your path?"
[zuki@nfs audacity-src-1.2.4b]$
but I clearly do have wx-gtk libs since I've installed it with urpmi from the DVD.

so if wx-gtk is the evolution of wx-windows ( if i got it right ) why doesn't it work?
couldn't find wx-windows (old version of wx-gtk) anywhere that will fit in this program.

any help?

Thanks!

Last edited by itz2000; 05-09-2006 at 09:56 AM.
 
Old 05-07-2006, 07:48 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Code:
 rpm -q --all | grep wx
wxGTK-2.6.1.0-4
wxGTK-compat-2.6.1.0-4
wxMaxima-0.6.5-0.pm.1
jschiwal@hpamd64:~> rpm -q --info wxGTK-compat
Name        : wxGTK-compat                 Relocations: (not relocatable)
Version     : 2.6.1.0                           Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release     : 4                             Build Date: Mon 12 Sep 2005 10:06:11 PM MDT
Install date: Sun 22 Jan 2006 12:46:00 AM MST      Build Host: riese.suse.de
Group       : System/Libraries              Source RPM: wxGTK-2.6.1.0-4.src.rpm
Size        : 10612728                         License: GPL
Signature   : DSA/SHA1, Mon 12 Sep 2005 10:24:59 PM MDT, Key ID a84edae89c800aca
Packager    : http://www.suse.de/feedback
URL         : http://www.wxwidgets.org/
Summary     : wxWidgets Compatibility Package
Description :
wxWidgets is a free C++ framework to make cross-platform programming
easy. It supports Windows 3.1/95/98/NT, and UNIX with
GTK/Motif/Lesstif. This is the version for GTK+. This package only
contains the runtime libraries and other data needed by the runtime
libraries.

This package contains a library compiled without Unicode support, which
is needed for some improperly written applications.
I'm using a different distro, so their packages may be different, but maybe audacity used a wxGTK library compiled without unicode support. You could look for a wxGTK-compat package for Mandriva.

Sometimes when you compile from source, and a library is needed, you need to install a corresponding <package>-devel-<version>.rpm package. At other times you need to install a lib<package>-version.rpm. The latter may be needed for a binary package itself before it will run.

Mandrake/Mandriva should have a binary rpm version of Audacity. If you don't need a newer version. If you still want to install from source, you could download the src.rpm version from http://rpm.pbone.net.

Check the binary version at the pbone.net site. On the page where is shows what the package requires, you can check your own system to find out what prerequisite you need to install first. Sometimes, installing from source has other prerequisites however.

A search on the pbone.net site for Mandriva, Mandrake and PLF shows also wxGTK2 packages, as well as wxGTK-devel, and wxGTK2, libwxGTK2 packages. Filter your search for your particular distro and search for "wxGTK". You may need one of those packages, either a libwxGTK or a wxGTK-devel package. I'm guessing that you need the latter.

Last edited by jschiwal; 05-07-2006 at 07:59 PM.
 
Old 05-07-2006, 08:10 PM   #3
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
There is a known problem with wxgtk and Audacity. Here used to be a patch, which stopped working with latest wxgtk. In case you can install binary version - do it. Otherwise you need to wait until 1.3 beta matures a little.

Last edited by Emerson; 05-07-2006 at 08:12 PM.
 
Old 05-08-2006, 03:58 AM   #4
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Emerson
There is a known problem with wxgtk and Audacity. Here used to be a patch, which stopped working with latest wxgtk. In case you can install binary version - do it. Otherwise you need to wait until 1.3 beta matures a little.
hmmm which exact file I need to download... I'm a bit confused...
 
Old 05-08-2006, 05:39 AM   #5
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Quote:
Originally Posted by itz2000
hmmm which exact file I need to download... I'm a bit confused...
As I said, get a binary what works for you, if you can find one. There is no way to compile it yourself I'm aware of (unless you downgrade wx*).
 
Old 05-08-2006, 07:07 AM   #6
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
solution for Mandriva 2006
using urpmi

Code:
urpmi.addmedia SoS-2006 http://seerofsouls.com/mandriva/2006/i586/2006/ with hdlist.cz

urpmi.addmedia SoS-KDE-3.5.1 http://seerofsouls.com/mandriva/2006/i586/KDE-3.5.1/ with hdlist.cz

urpmi.addmedia SoS-KDE-3.5.2 http://seerofsouls.com/mandriva/2006/i586/KDE-3.5.2/ with hdlist.cz

urpmi.addmedia SoS-Xchat http://seerofsouls.com/mandriva/2006/i586/Xchat/ with hdlist.cz

urpmi.addmedia SoS-Xfce http://seerofsouls.com/mandriva/2006/i586/Xfce/ with hdlist.cz

urpmi.addmedia SoS-E17 http://seerofsouls.com/mandriva/2006/i586/Enlightenment/ with hdlist.cz

urpmi audacity

thanks for
http://seerofsouls.com/rpm2006.html
 
Old 05-09-2006, 06:03 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
One of these will give you wx-config:
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-1mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-1mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/....4mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/....4mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-7mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-7mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-8mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-8mdk.i586.rpm

You may also have them on your DVD install disk.
ftp://ftp.rediris.es/vol4/carroll.ca....4mdk.i586.rpm

I don't know if it will help, if the source is now broken. I'm sure you have audacity on your install disk. Why not install that one, given the current problems?

The patch in the previous message is an output of the diff command. You can use it with the "patch" program to apply the changes.

The line in the patch with the "+ " in front of it is the change made to the file. You could simply edit it in, but I don't understand it that was what causes the problem, or resolves it, but the error message seems to indicate a missing dependency and you didn't get that far.

Last edited by jschiwal; 05-09-2006 at 06:08 AM.
 
Old 05-09-2006, 09:57 AM   #8
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jschiwal
One of these will give you wx-config:
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-1mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-1mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/....4mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/....4mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-7mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-7mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-8mdk.i586.rpm
Mandriva 2006 ftp://carroll.cac.psu.edu/pub/linux/...-8mdk.i586.rpm

You may also have them on your DVD install disk.
ftp://ftp.rediris.es/vol4/carroll.ca....4mdk.i586.rpm

I don't know if it will help, if the source is now broken. I'm sure you have audacity on your install disk. Why not install that one, given the current problems?

The patch in the previous message is an output of the diff command. You can use it with the "patch" program to apply the changes.

The line in the patch with the "+ " in front of it is the change made to the file. You could simply edit it in, but I don't understand it that was what causes the problem, or resolves it, but the error message seems to indicate a missing dependency and you didn't get that far.
I found a solution, check my previous post.
Thanks anyways!
 
  


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 01:35 PM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 04:07 AM
Error when compiling 2.4.26(can't find the include files) iZvi Slackware 2 05-25-2004 06:27 AM
error compiling cdrtools on kernel 2.6.0: /usr/bin/ld: cannot find -lscg schatoor Linux - Software 1 12-21-2003 09:15 AM
Dazed and confused (compiling) Thurlow Linux - Newbie 2 12-18-2001 06:18 PM


All times are GMT -5. The time now is 02:11 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration