LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2004, 10:27 AM   #1
ballack
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
I've installed wxbase & wxGTK, where is wx-config?


In order to install xchm, i must install chmlib and wxbase and wxGTK, I install them all. and I try to run the configure script of xchm. but it can't find wx-config as follows:
[root@localhost xchm-0.9.1]# ./configure
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for gcc... gcc
checking for C compiler default output... 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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking for wx-config... no
configure: error:
wxWidgets must be installed on your system
but the wx-config script couldn't be found.

Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.3.4 or above.

I've search /usr/lib /usr/bin /usr/local/bin, but can't find wx-config. Where is it?
 
Old 06-05-2004, 06:38 AM   #2
ballack
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Can you help me?thanks@!
 
Old 07-03-2004, 08:54 AM   #3
BattousaiX
LQ Newbie
 
Registered: Jul 2004
Posts: 18

Rep: Reputation: 0
LOL. I was looking for this post for help with the same thing. Well, I see the wxWidget's which I've downloaded and are currently installing. I see the wx-config in <path to /wxGTK-2.4.2>

Code:
/usr/share/wxGTK-2.4.2$ ls
CHANGES-GTK.txt  accel.d     choicdgg.d       configure*    dirctrlg.o  fontdlgg.o  helphtml.o   mkinstalldirs      wxBase.spec
CHANGES.txt      accel.o     choicdgg.o       configure.in  dirdlgg.d   grid.d      imaglist.d   samples/           wxGTK.spec
COPYING.LIB      aclocal.m4  colrdlgg.d       contrib/      dirdlgg.o   grid.o      imaglist.o   setup.h.in         wxgtk-2.4-config*
INSTALL.txt      art/        colrdlgg.o       dcbuffer.d    dragimgg.d  gridctrl.d  include/     setup.h_vms        wxwin.m4
LICENCE.txt      busyinfo.d  config.cache     dcbuffer.o    dragimgg.o  gridctrl.o  install-sh*  src/
Makefile         busyinfo.o  config.guess*    dcpsg.d       fdrepdlg.d  gridsel.d   laywin.d     utils/
Makefile.in      calctrl.d   config.log       dcpsg.o       fdrepdlg.o  gridsel.o   laywin.o     version-script
README-GTK.txt   calctrl.o   config.status*   demos/        filedlgg.d  helpext.d   lib/         version-script.in
README.txt       caret.d     config.sub*      descrip.mms   filedlgg.o  helpext.o   locale/      wx-config@
TODO.txt         caret.o     configarg.cache  dirctrlg.d    fontdlgg.d  helphtml.d  misc/        wx-config.in*
Hope you solved problem by now. Good luck.
 
Old 07-17-2004, 05:24 AM   #4
calen
LQ Newbie
 
Registered: Jul 2004
Location: Philippines
Distribution: Fedora Core 2
Posts: 2

Rep: Reputation: 0
I got the same problem when I used the RPM to install wxGTK. I unistalled and then installed from source instead. xchm installed fine after that.

Don't forget to set the LD_LIBRARY_PATH variable, which is the directory where all your libwx_gtk* shared libraries are stored.
 
Old 08-01-2004, 10:51 PM   #5
LiD
LQ Newbie
 
Registered: May 2003
Posts: 15

Rep: Reputation: 0
It doesnt work.

Code:
[root@b0x4 xchm-0.9.3]# /usr/local/bin/wx-config --libs
-L/usr/local/lib -pthread -lwx_gtk-2.4
Code:
 export LD_LIBRARY_PATH=$/usr/local/lib
And I still get, the following after ./configure

Quote:
]checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking for wx-config... no
configure: error:
wxWidgets must be installed on your system
but the wx-config script couldn't be found.

Please check that wx-config is in path, the directory
where wxWidgets libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWidgets version is 2.3.4 or above.
Help please?
 
Old 08-01-2004, 11:57 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
In Debian it the file is in wxwin2.4-headers you may want to look for a similar developement package in your distro.

Code:
>$ apt-file search wx-config
kdevelop3-data: usr/share/apps/kdevappwizard/template-common/wx-configure.in
kdevelop3-data: usr/share/apps/kdevappwizard/template-common/wx-configure.in
wxwin2.4-headers: usr/share/man/man1/wx-config.1.gz
wxwin2.4-headers: usr/share/man/man1/wx-config.1.gz
 
Old 08-02-2004, 05:45 AM   #7
LiD
LQ Newbie
 
Registered: May 2003
Posts: 15

Rep: Reputation: 0
I am not sure I follow. According to the instructions,

Code:
/usr/local/bin/wx-config --libs
must reveal the path to the libraries. Which should be in the path of LD_LIBRARY_PATH. Are you suggesting wx-config's location is where the LD_LIBRARY_PATH should be pointing at?
Apologies if the question is below standards.

Last edited by LiD; 08-02-2004 at 05:46 AM.
 
Old 08-05-2004, 12:57 PM   #8
LiD
LQ Newbie
 
Registered: May 2003
Posts: 15

Rep: Reputation: 0
Sorry to for the second post, but I could really appreciate some help over this, since I have to read an e-book regarding data-structures in CHM format and Xchm is not working due to the above problem. It would be a shame if I had to install win98 side by side with ArchLinux just to study for my exams.
Thanks.
 
Old 08-06-2004, 02:41 AM   #9
calen
LQ Newbie
 
Registered: Jul 2004
Location: Philippines
Distribution: Fedora Core 2
Posts: 2

Rep: Reputation: 0
I did a "find" in order to locate where the libraries were. I didn't use "/usr/local/bin/wx-config --libs". Then I set LD_LIBRARY_PATH in /etc/profile.
 
Old 01-19-2010, 01:03 AM   #10
justanto
LQ Newbie
 
Registered: Jul 2006
Location: Indiana, USA
Distribution: Fedora
Posts: 13

Rep: Reputation: 0
I installed wxGTK-devel and it solved the problem. Hope this helps.
 
  


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
wxGTK && lMule problem! at_the_gates Linux - Software 1 11-03-2007 11:35 AM
Sendmail - Config for IP Block's & Config Issues Thom_Redhat Linux - Software 1 04-07-2006 01:29 PM
wxWindows(wxGtk), Gnome, & KDE jmccay Programming 0 02-16-2004 01:33 PM
Installed wxGTK but missing libwx_gtk-2.4 ffang Linux - Software 0 01-20-2004 02:04 AM
lMule wxGTK and wxGTK-devel Caveman Linux - Software 3 10-15-2003 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:48 PM.

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
Open Source Consulting | Domain Registration