LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-10-2009, 12:22 PM   #1
romagnolo
Member
 
Registered: Jul 2009
Location: Montaletto
Distribution: Debian GNU/Linux
Posts: 107

Rep: Reputation: 5
specify a wxwidgets build


Hi i'm trying to compile amule 2.2.5 on debian lenny/squeeze.
I get stucked after the command

"./configure --enable-webserver --enable-webserverGUI"

the last part of output is:


checking whether we need the GUI... yes
checking for the --with-toolkit option... will be automatically detected
checking for the --with-wxshared option... will be automatically detected
checking for the --with-wxdebug option... will be automatically detected
checking for the --with-wxversion option... will be automatically detected
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.8.0 (--unicode=yes)... no (version 2.6.3 is not new enough)
configure: error:
The requested wxWidgets build couldn't be found.

The configuration you asked for aMule requires a wxWidgets
build with the following settings:
--unicode=yes
but such build is not available.

To see the wxWidgets builds available on this system, please use
'wx-config --list' command. To use the default build, returned by
'wx-config --selected-config', use the options with their 'auto'
default values.

If you still get this error, then 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.8.0 or above.


I should have the wxwidgets 2.8. When lunch

wx-config --list

i get:

Default config is gtk2-unicode-release-2.6

Default config will be used for output

Alternate matches:
base-unicode-release-2.6
base-unicode-release-2.8
gtk2-unicode-release-2.8



So how can I default to 2.8 ?

Last edited by romagnolo; 12-10-2009 at 12:25 PM.
 
Old 12-10-2009, 12:56 PM   #2
romagnolo
Member
 
Registered: Jul 2009
Location: Montaletto
Distribution: Debian GNU/Linux
Posts: 107

Original Poster
Rep: Reputation: 5
Say i have "solved" ..
Removed the 2.6 thru APT, wx-config defaults to 2.8 and amule compiles.
 
Old 12-10-2009, 01:04 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Of course you will need ' libwxgtk2.8-dev ' to be installed.

Then ... 1) su

2) update-alternatives --config wx-config

.. and choose 2.8 .
.....

Last edited by knudfl; 12-10-2009 at 01:07 PM.
 
1 members found this post helpful.
  


Reply



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
WxWidgets icecubeflower Linux - Newbie 2 11-24-2009 10:44 AM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 09:51 PM
LXer: Build Cross-Platform GUIs Using wxWidgets LXer Syndicated Linux News 0 09-23-2006 02:33 AM
wxWidgets kornerr Programming 2 10-13-2005 10:05 AM
wxwidgets, anyone used it? acidjuice Programming 6 03-31-2005 03:28 AM

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

All times are GMT -5. The time now is 07:44 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