LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   simple variable problem that makes me head hurts :] (https://www.linuxquestions.org/questions/linux-newbie-8/simple-variable-problem-that-makes-me-head-hurts-%5D-502786/)

itz2000 11-18-2006 10:40 AM

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?

osor 11-18-2006 01:32 PM

Did you try /usr/bin/wx-config and /usr/local/bin/wx-config with "--version-full" to see exactly what versions are installed?

itz2000 11-18-2006 04:02 PM

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


Tinkster 11-18-2006 07:07 PM

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

itz2000 11-19-2006 11:13 AM

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


All times are GMT -5. The time now is 07:32 PM.