LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-01-2007, 08:59 AM   #1
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Rep: Reputation: 15
cant find wxwidgets?


i am trying to compile poedit but i always have the same error: what should i do to make configure find the wxwidgets?

Code:
+ ./configure --prefix=/usr --with-wx-config=/usr/bin/wx-config 
--with-wxdir=/usr/lib/wx
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... 
no
checking for install location... /usr
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for gcc... gcc
checking for C compiler default output file name... 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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.6.0 (--unicode)... no
configure: error:
        Please check that wx-config is in path, the directory
        where wxWindows libraries are installed (returned by
        'wx-config --libs' command) is in LD_LIBRARY_PATH or
        equivalent variable and wxWindows is version 2.6.0 or above.
Code:
# wx-config --libs
-pthread  -L/usr/X11R6/lib  -lwx_gtk2_aui-2.8 -lwx_gtk2_xrc-2.8 
-lwx_gtk2_qa-2.8 -lwx_gtk2_html-2.8 -lwx_gtk2_adv-2.8 -lwx_gtk2_core-2.8 
-lwx_base_xml-2.8 -lwx_base_net-2.8 -lwx_base-2.8
Thanks
 
Old 06-01-2007, 11:07 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
You told the configure script the wxwindows libraries are installed in /usr/lib/wx
Code:
./configure --prefix=/usr --with-wx-config=/usr/bin/wx-config --with-wxdir=/usr/lib/wx
wx-config is telling you the libraries are installed in /usr/X11R6/lib
Code:
wx-config --libs 
-pthread  -L/usr/X11R6/lib

Last edited by weibullguy; 06-01-2007 at 11:09 AM.
 
Old 06-01-2007, 01:09 PM   #3
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by weibullguy
You told the configure script the wxwindows libraries are installed in /usr/lib/wx
Code:
./configure --prefix=/usr --with-wx-config=/usr/bin/wx-config --with-wxdir=/usr/lib/wx
wx-config is telling you the libraries are installed in /usr/X11R6/lib
Code:
wx-config --libs 
-pthread  -L/usr/X11R6/lib
i have tried that before...same result
Code:
--with-wxdir=/usr/X11R6/lib
 
Old 06-04-2007, 11:51 AM   #4
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Original Poster
Rep: Reputation: 15
anyone?
 
Old 06-05-2007, 10:40 AM   #5
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Original Poster
Rep: Reputation: 15
solved:
export LDFLAGS="$LDFLAGS -L/usr/X11R6/lib"
 
  


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 could not be found Tanc Linux - Newbie 2 03-25-2006 03:07 AM
wxWidgets kornerr Programming 2 10-13-2005 10:05 AM
Problems with wxWidgets DonBilbo Linux - Software 3 10-12-2005 09:21 AM
wxwidgets or gtk?? logicalfuzz Linux - Software 3 09-21-2005 12:43 PM
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:06 AM.

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