Menu

#7 wx-config command not found in CentOS 6

v1.0_(example)
closed
nobody
None
1
2015-11-24
2015-03-16
R. C. Pao
No

CentOS 6 requires the following (run as root):

yum install wxWidgets-devel
yum install wxBase #for /usr/bin/wx-config-3.0
cd /usr/bin; ln -s wx-config-3.0 wx-config

In order to avoid the following make error:
...
make[1]: Leaving directory /home/rcpao/Downloads/wxHexEditor/mhash'wx-config --cxx-cwx-config --cxxflags` -Iudis86 -Imhash/include -MMD -fopenmp -fopenmp src/HexEditorGui.cpp -o src/HexEditorGui.o
/bin/sh: wx-config: command not found
/bin/sh: wx-config: command not found
/bin/sh: -c: command not found
make: *** [src/HexEditorGui.o] Error 127
[rcpao@test27 wxHexEditor]$ wx-config
bash: wx-config: command not found

Discussion

  • R. C. Pao

    R. C. Pao - 2015-03-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,14 +1,15 @@
    -CentOS 6 requires the following:
    +CentOS 6 requires the following (run as root):
    
    -# yum install wxWidgets-devel
    -# yum install wxBase #for /usr/bin/wx-config-3.0
    -# cd /usr/bin; ln -s wx-config-3.0 wx-config
    +~~~~~~
    +yum install wxWidgets-devel
    +yum install wxBase #for /usr/bin/wx-config-3.0
    +cd /usr/bin; ln -s wx-config-3.0 wx-config
    +~~~~~~
    
    -
    -In order to avoid the following error:
    +In order to avoid the following make error:
     ...
     make[1]: Leaving directory `/home/rcpao/Downloads/wxHexEditor/mhash'
    -`wx-config --cxx` -c `wx-config --cxxflags` -Iudis86 -Imhash/include -MMD -fopenmp -fopenmp   src/HexEditorGui.cpp -o src/HexEditorGui.o
    +`wx-config --cxx` -c `wx-config --cxxflags` -Iudis86 -Imhash/include -MMD     -fopenmp -fopenmp   src/HexEditorGui.cpp -o src/HexEditorGui.o
     /bin/sh: wx-config: command not found
     /bin/sh: wx-config: command not found
     /bin/sh: -c: command not found
    
     
  • Death Knight®

    Death Knight® - 2015-03-16

    Nope, you just need to setup WXCONFIG parameter with hand.
    Use this command for make the program:

    make WXCONFIG=wx-config-3.0
    
     
  • Death Knight®

    Death Knight® - 2015-11-24
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB