I've installed wxbase & wxGTK, where is wx-config?
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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>
]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 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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.