LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2006, 11:40 AM   #1
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
simple variable problem that makes me head hurts :]


I'm trying to install DVDplayer...

This is what I get
Code:
zuki@WhiteCastle:~/Desktop/DVDStyler-1.4$ ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -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/local
checking for a BSD-compatible install... /usr/bin/ginstall -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 ANSI C... 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/local/bin/wx-config
checking for wxWindows version >= 2.4.2... no (version 2.3.3 is not new enough)
configure: error:
        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 is version 2.4.2 or above.
Code:
zuki@WhiteCastle:~/Desktop/DVDStyler-1.4$ [n]whereis[/b] wx-config
wx-config: /usr/bin/wx-config /usr/local/bin/wx-config
also
Code:
zuki@WhiteCastle:~/Desktop/DVDStyler-1.4$ /usr/bin/wx-config --libs
-pthread   -L/usr/X11R6/lib  -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6
and the other one gives me
Code:
zuki@WhiteCastle:~/Desktop/DVDStyler-1.4$ /usr/local/bin/wx-config --libs
-L/usr/local/lib -pthread -lwx_base-2.3
which means I want to use the first one (/usr/bin/wx-config)
done
Code:
zuki@WhiteCastle:~/Desktop/DVDStyler-1.4$ export LD_LIBRARY_PATH="/usr/X11R6/lib"
and got the same error!

any tips?
 
Old 11-18-2006, 02:32 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 75
Did you try /usr/bin/wx-config and /usr/local/bin/wx-config with "--version-full" to see exactly what versions are installed?
 
Old 11-18-2006, 05:02 PM   #3
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by osor
Did you try /usr/bin/wx-config and /usr/local/bin/wx-config with "--version-full" to see exactly what versions are installed?
Code:
zuki@WhiteCastle:~/Desktop/transcode-1.0.2$ /usr/bin/wx-config --version-full
2.6.3.1
 
Old 11-18-2006, 08:07 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by itz2000
I'm trying to install DVDplayer...

This is what I get
Code:
zuki@WhiteCastle:~/Desktop/DVDStyler-1.4$ ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -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/local
checking for a BSD-compatible install... /usr/bin/ginstall -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 ANSI C... 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/local/bin/wx-config
checking for wxWindows version >= 2.4.2... no (version 2.3.3 is not new enough)
configure: error:
        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 is version 2.4.2 or above.
Code:
zuki@WhiteCastle:~/Desktop/DVDStyler-1.4$ [n]whereis[/b] wx-config
wx-config: /usr/bin/wx-config /usr/local/bin/wx-config
also
Code:
zuki@WhiteCastle:~/Desktop/DVDStyler-1.4$ /usr/bin/wx-config --libs
-pthread   -L/usr/X11R6/lib  -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6
and the other one gives me
Code:
zuki@WhiteCastle:~/Desktop/DVDStyler-1.4$ /usr/local/bin/wx-config --libs
-L/usr/local/lib -pthread -lwx_base-2.3
which means I want to use the first one (/usr/bin/wx-config)
done
Code:
zuki@WhiteCastle:~/Desktop/DVDStyler-1.4$ export LD_LIBRARY_PATH="/usr/X11R6/lib"
and got the same error!

any tips?

The problem isn't the library path (well, not the primary problem,
anyway), but the path to the executable. You a) edit your ~/.bashrc
to have the /usr/bin bit before the /usr/local one or b) give ./configure
the full path to the version you want to use (for most cases of configure,
the mileage for the one you're using may vary).


Cheers,
Tink
 
Old 11-19-2006, 12:13 PM   #5
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Original Poster
Rep: Reputation: 30
you wouldn't believe what the problem was!!!

wx-config --libs works, so I never assumed wxWindows isn't installed!
and infact it wasn't installed (atleast not in 2.4 version or up)

reinstalled it, and setup passed that stage :]


LOL! That was funny
atleast I passed that

Thanks everyone
 
  


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
Simple quick one - how to set a variable from a text file... stardotstar Programming 21 07-23-2006 05:47 AM
simple bash variable command itz2000 Programming 6 06-19-2006 09:24 PM
Multi-monitor Issues on RH9, Geforce 4 Ti Dual Head + TNT2 Single Head the letter b Linux - Newbie 3 12-05-2004 12:23 AM
Python how name variable inside a class - very simple? lugoteehalt Programming 5 10-22-2003 06:11 AM
x86 Solaris 9 XSun and Matrox G550 dual-head... one head down, one to go. finegan Solaris / OpenSolaris 4 03-11-2003 01:39 PM


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