LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 10: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, 01:32 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
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, 04: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, 07:07 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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, 11:13 AM   #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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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