LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   compiling error : compiler cannot find something I have :confused: (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-error-compiler-cannot-find-something-i-have-confused-442580/)

itz2000 05-07-2006 05:39 PM

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!

jschiwal 05-07-2006 06:48 PM

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.

Emerson 05-07-2006 07:10 PM

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.

itz2000 05-08-2006 02:58 AM

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

Emerson 05-08-2006 04:39 AM

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*).

itz2000 05-08-2006 06:07 AM

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

jschiwal 05-09-2006 05:03 AM

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.

itz2000 05-09-2006 08:57 AM

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!


All times are GMT -5. The time now is 04:57 PM.