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 12-10-2009, 01: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 01:25 PM.
 
Old 12-10-2009, 01: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, 02:04 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
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 02:07 PM.
 
1 members found this post helpful.
  


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

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

All times are GMT -5. The time now is 12:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration