SlackwareThis Forum is for the discussion of Slackware Linux.
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.
checking where the gettext function comes from... libc
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.
slackpkg install wxWidget ,
Code:
No packages match the pattern for install. Try:
/usr/sbin/slackpkg reinstall|upgrade
You could try to build it from source. Search Google for wxWidgets, get the tarball from there and then build it on your system. It's not hard to build things. People just think that it is.
I already know that conflicts with wxGTK, but does it actually contain the widgets or just the python bindings? I usually go with the GTK+ version when I build wxWidgets is why I'm asking. What's the difference?
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,313
Rep:
No, you don't have to remove your wxGTK install,
which is what you got from installing wxWidgets.
I can repeat : wxGTK is the wxWidgets library for Linux.
A genuine slack package may look nicer, but anyway,
you have the required files, no difference in functions.
Conclusion : No need to uninstall, you can always
change it later. ( There may be a # 'make uninstall'
in the wx source.)
.....
Now if i want to remove wxWidget from system,how would i do that?
slackpkg remove wxWidget doesn't work
Please try to understand that "slackpkg" commands only work for official Slackware packages. If you want to remove a random package from your system use "removepkg" instead, like in:
I'm not sure you are right. Slackware64 13.0 with wxPython but not wxGTK
Code:
tito@pandora:~$ grep wx-config /var/log/scripts/*
/var/log/scripts/wxPython-2.8.10.1-x86_64-1:( cd usr/bin ; rm -rf wx-config )
/var/log/scripts/wxPython-2.8.10.1-x86_64-1:( cd usr/bin ; ln -sf /usr/lib64/wx/config/gtk2-unicode-release-2.8 wx-config )
tito@pandora:~$ ls /var/log/packages/wx*
/var/log/packages/wxPython-2.8.10.1-x86_64-1
/usr/bin/wx-config
Audacity for example, which requires wxWidgets, i. e. wxGTK, runs fine here with wxPython only. And a quote from the wxPython webpage:
Quote:
Here are the wxPython sources and all you'll need (besides the prerequisites outlined above) to build wxPython on Win32, Unix or OS X systems, including the sources for wxWidgets (Win32, GTK or OS X.)
Hi every body,
I'm a new to code block and i wanna use it to develope a GUI application using the wxwidgets library,
I'm using Ubuntu 9.4 running on VirtualBox (as Virtual machine )
I installed the Wxwidgets successfully.
# tar -xzvf wxwidgets-2.8.10.tar.gz
# cd wxwidgets-2.8.10
# mkdir build-x11
# cd build-x11
# ../configure --with-x11 --without-gtk --enable-no_rtti --enable-no_exceptions --disable-threads --disable-sockets --disable-joystick --disable-mdi --disable-printarch --disable-postscript --disable-resources --disable-prologio --with-zlib=builtin --with-libpng=builtin --with-libjpeg=builtin --with-libtiff=builtin
# make
#make install
#ldconfig
I installed the Code::Block successfully too.
#apt-get install codeblocks
I create a new Wxwidget projects.
file -> new project -> wxwidgets project -> ...
I compiled this project and every thing gonna good.
Run the project in Linux and the project run successfully
After that i install the Arm-Linux cross compilation tool-chain to the linux as follow:
# cd /opt/FriendlyArm/mini2440/source/
# tar -xzvf arm-linux-gcc-4.3.2.tgz
after unpacking the ziped file it gives me usr directory
I added the path to path enviroment
After that i gone to the my code::block
Setting -> compiler and debugger -> choose the GNU ARM GCC compiler -> and under the toolchain executables change this configuration
c compiler --> arm-linux-gcc
c++ compiler --> arm-linux-g++
Linker for dynamic library --> arm-linux-g++
Linker for static library --> arm-linux-ar
Debugger --> arm-linux-qdb
compiler installation directory --> /opt/FriendlyArm/mini2440/source/usr/local/arm/4.3.2
project -> properties -> build option
Choose release tap -> duplicated ->and choose ArmRelease as new name
Choose the compiler as GNU ARM GCC compiler
OK
and when i compiled ARMRelease it gives me this error
cannot find -lwx_gtk2u_richtext-2.8
I googled in the internet and find that i should add this lines to the configuration
'wx-config --cflags' to the compiler option and
'wx-config --libs' to the linker option
I successfully add this lines to the compiler and linker as follow:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.