LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Please Help Getting mad! Installing wxwidgets... need to add a path to ldconfig...?? (https://www.linuxquestions.org/questions/programming-9/please-help-getting-mad-installing-wxwidgets-need-to-add-a-path-to-ldconfig-772749/)

morty346 12-01-2009 01:49 PM

Please Help Getting mad! Installing wxwidgets... need to add a path to ldconfig...??
 
I need to:

Add /opt/wx/2.8/bin to the PATH (if you're shell is bash then edit /etc/profile or ~/.bash_profile)

add /opt/wx/2.8/lib to /etc/ld.so.conf (nano /etc/ld.so.conf) then run:

from tutorial:
http://vunh.blogspot.com/2009/05/cod...in-centos.html

if i go look inside of the folder /etc/ld.so.conf.d/ i find one file qt-i386.conf with the contents
/usr/lib/qt-3.3/lib


From what I understand i need to have another file in there named ? that has the string /opt/wx/2.8/lib

A. How do I create a file in here?
B. What do i name this file?
C. do i need to tell the ldconfig command about the new file?

Someone please help!? I have been trying to get this to work all day and I am at the end of my rope!

Using CentOS 5.4
Trying to install wxwidgets 2.8

bathory 12-01-2009 02:04 PM

Hi,

Just add /opt/wx/2.8/lib in /etc/ld.so.conf before any include directives and run ldconfig. Don't bother with the /etc/ld.so.conf.d/*.conf files.

Regards

morty346 12-01-2009 02:20 PM

Quote:

Originally Posted by bathory (Post 3776014)
Hi,

Just add /opt/wx/2.8/lib in /etc/ld.so.conf before any include directives and run ldconfig. Don't bother with the /etc/ld.so.conf.d/*.conf files.

Regards

nope

Code:

[eaicurtis@localhost ~]$ su -
Password:
[root@localhost Desktop]# cp /home/eaicurtis/ld.so.conf /etc/ld.so.conf
cp: overwrite `/etc/ld.so.conf'? y
[root@localhost Desktop]# ldconfig
[root@localhost Desktop]# wx-config --prefix
/usr/local
[root@localhost Desktop]#
[root@localhost Desktop]#

contents of ld.so.conf
Code:

/opt/wx/2.8/lib
include ld.so.conf.d/*.conf


morty346 12-01-2009 02:22 PM

Quote:

Originally Posted by morty346 (Post 3776036)
nope

Code:

[eaicurtis@localhost ~]$ su -
Password:
[root@localhost Desktop]# cp /home/eaicurtis/ld.so.conf /etc/ld.so.conf
cp: overwrite `/etc/ld.so.conf'? y
[root@localhost Desktop]# ldconfig
[root@localhost Desktop]# wx-config --prefix
/usr/local
[root@localhost Desktop]#
[root@localhost Desktop]#

contents of ld.so.conf
Code:

/opt/wx/2.8/lib
include ld.so.conf.d/*.conf


/opt/wx/2.8/lib
include ld.so.conf.d/*.conf


[root@localhost Desktop]# dir /opt/wx/2.8/lib
libwx_baseu-2.8.so libwx_gtk2u_core-2.8.so.0.4.0
libwx_baseu-2.8.so.0 libwx_gtk2u_html-2.8.so
libwx_baseu-2.8.so.0.4.0 libwx_gtk2u_html-2.8.so.0
libwx_baseu_net-2.8.so libwx_gtk2u_html-2.8.so.0.4.0
libwx_baseu_net-2.8.so.0 libwx_gtk2u_media-2.8.so
libwx_baseu_net-2.8.so.0.4.0 libwx_gtk2u_media-2.8.so.0
libwx_baseu_xml-2.8.so libwx_gtk2u_media-2.8.so.0.4.0
libwx_baseu_xml-2.8.so.0 libwx_gtk2u_qa-2.8.so
libwx_baseu_xml-2.8.so.0.4.0 libwx_gtk2u_qa-2.8.so.0
libwx_gtk2u_adv-2.8.so libwx_gtk2u_qa-2.8.so.0.4.0
libwx_gtk2u_adv-2.8.so.0 libwx_gtk2u_xrc-2.8.so
libwx_gtk2u_adv-2.8.so.0.4.0 libwx_gtk2u_xrc-2.8.so.0
libwx_gtk2u_core-2.8.so libwx_gtk2u_xrc-2.8.so.0.4.0
libwx_gtk2u_core-2.8.so.0 wx

bathory 12-01-2009 02:35 PM

Quote:

[root@localhost Desktop]# wx-config --prefix
/usr/local
If you have followed the tutorial, then it looks like you have 2 versions of wx-config. One installed in /opt/wx/2.8 and the other in /usr/local.
Put /opt/wx/2.8/bin first in the PATH:
Code:

export PATH=/opt/wx/2.8/bin:$PATH
and then logout and login again, or source the file you've added the PATH statement:
Code:

source ~/.bash_profile
or
source /etc/profile


morty346 12-01-2009 02:42 PM

Quote:

Originally Posted by bathory (Post 3776054)
If you have followed the tutorial, then it looks like you have 2 versions of wx-config. One installed in /opt/wx/2.8 and the other in /usr/local.
Put /opt/wx/2.8/bin first in the PATH:
Code:

export PATH=/opt/wx/2.8/bin:$PATH
and then logout and login again, or source the file you've added the PATH statement:
Code:

source ~/.bash_profile
or
source /etc/profile


ok
so i did the lines you just told me to do
then redid a ldconfig
then checked its location and it still says the same thing

bathory 12-01-2009 02:48 PM

Have you changed your PATH?
What gives:
Code:

echo $PATH

morty346 12-01-2009 03:08 PM

Quote:

Originally Posted by bathory (Post 3776076)
Have you changed your PATH?
What gives:
Code:

echo $PATH

[root@localhost trunk]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

bathory 12-01-2009 03:20 PM

So /opt/wx/2.8/bin is not in root's PATH. You have to edit also root's .bash_profile to add /opt/wx/2.8/bin.
If you want all users have /opt/wx/2.8/bin in their PATH, then edit /etc/profile

morty346 12-01-2009 03:27 PM

Quote:

Originally Posted by bathory (Post 3776120)
So /opt/wx/2.8/bin is not in root's PATH. You have to edit also root's .bash_profile to add /opt/wx/2.8/bin.
If you want all users have /opt/wx/2.8/bin in their PATH, then edit /etc/profile

uhh...
i opened this file you speak of... and this is what i am presented with

Code:


# /etc/profile

# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc

pathmunge () {
        if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
          if [ "$2" = "after" ] ; then
              PATH=$PATH:$1
          else
              PATH=$1:$PATH
          fi
        fi
}

# ksh workaround
if [ -z "$EUID" -a -x /usr/bin/id ]; then
        EUID=`id -u`
        UID=`id -ru`
fi

# Path manipulation
if [ "$EUID" = "0" ]; then
        pathmunge /sbin
        pathmunge /usr/sbin
        pathmunge /usr/local/sbin
fi

# No core files by default
ulimit -S -c 0 > /dev/null 2>&1

if [ -x /usr/bin/id ]; then
        USER="`id -un`"
        LOGNAME=$USER
        MAIL="/var/spool/mail/$USER"
fi

HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
    INPUTRC=/etc/inputrc
fi

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC

for i in /etc/profile.d/*.sh ; do
    if [ -r "$i" ]; then
        if [ "$PS1" ]; then
            . $i
        else
            . $i >/dev/null 2>&1
        fi
    fi
done

unset i
unset pathmunge


??? you want me to do what?

bathory 12-01-2009 03:40 PM

I don't use Centos but from what I can see in the file you've posted, you can add your PATH statement, just before the export PATH... line:
Code:

...
PATH=/opt/wx/2.8/bin:$PATH
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
...


morty346 12-01-2009 03:57 PM

.............

ok
....

so i have a /etc/profile document that has
Code:

# /etc/profile

# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc

pathmunge () {
        if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
          if [ "$2" = "after" ] ; then
              PATH=$PATH:$1
          else
              PATH=$1:$PATH
          fi
        fi
}

# ksh workaround
if [ -z "$EUID" -a -x /usr/bin/id ]; then
        EUID=`id -u`
        UID=`id -ru`
fi

# Path manipulation
if [ "$EUID" = "0" ]; then
        pathmunge /sbin
        pathmunge /usr/sbin
        pathmunge /usr/local/sbin
fi

# No core files by default
ulimit -S -c 0 > /dev/null 2>&1

if [ -x /usr/bin/id ]; then
        USER="`id -un`"
        LOGNAME=$USER
        MAIL="/var/spool/mail/$USER"
fi

HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
    INPUTRC=/etc/inputrc
fi

PATH=/opt/wx/2.8/bin:$PATH
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC

for i in /etc/profile.d/*.sh ; do
    if [ -r "$i" ]; then
        if [ "$PS1" ]; then
            . $i
        else
            . $i >/dev/null 2>&1
        fi
    fi
done

unset i
unset pathmunge


i have a etc/ld.so.conf file that has
Code:

/opt/wx/2.8
include ld.so.conf.d/*.conf

and i have my trunk for codeblocks on my desktop and when i run the ./configure
I get
Code:

checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.8.0... no (version 2.6.3 is not new enough)
configure: error:
                wxWidgets must be installed on your system.

                Please check that wx-config is in path, the directory
                where wxWidgets libraries are installed (returned by
                'wx-config --libs' or 'wx-config --static --libs' command)
                is in LD_LIBRARY_PATH or equivalent variable and
                wxWindows version is 2.8.0 or above.

and at
/opt/wx/2.8 i have the files i want
and at
/usr/local/bin i have a 2.6 version



we seem to have got nowhere

bathory 12-01-2009 04:04 PM

1. Did you logout and login back again (or run source /etc/profile) after editing /etc/profile? I guess you didn't!!
Run again echo $PATH, to verify that you have the correct PATH

2.
Quote:

i have a etc/ld.so.conf file that has
Code:

/opt/wx/2.8
include ld.so.conf.d/*.conf

It should be
Code:

/opt/wx/2.8/lib
include ld.so.conf.d/*.conf

Note /lib at the end of the 1st line

morty346 12-01-2009 04:31 PM

well we are getting somewhere


returned by ./configure

Code:

*************************************************
* Code::Blocks source tree has been configured. *
*************************************************

You can now build Code::Blocks by issuing 'make'.
When the build is complete, become root and install
it by issuing 'make install'.

then i run make

Code:

/opt/wx/2.8/include/wx-2.8/wx/strconv.h:89: note: candidates are: const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*) const
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:106: note:                const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*, size_t, size_t*) const
make[3]: *** [filemanager.lo] Error 1
make[3]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eaicurtis/Desktop/trunk/src'
make: *** [all-recursive] Error 1


any ideas??

this happens when i call make..

morty346 12-01-2009 04:32 PM

more detail
Code:

[root@localhost trunk]# make
Making all in src
make[1]: Entering directory `/home/eaicurtis/Desktop/trunk/src'
Making all in base
make[2]: Entering directory `/home/eaicurtis/Desktop/trunk/src/base'
Making all in tinyxml
make[3]: Entering directory `/home/eaicurtis/Desktop/trunk/src/base/tinyxml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/base/tinyxml'
make[3]: Entering directory `/home/eaicurtis/Desktop/trunk/src/base'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/base'
make[2]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/base'
Making all in build_tools
make[2]: Entering directory `/home/eaicurtis/Desktop/trunk/src/build_tools'
Making all in autorevision
make[3]: Entering directory `/home/eaicurtis/Desktop/trunk/src/build_tools/autorevision'
./auto_revision +int +wx +t ../../.. ../../../src/include/autorevision.h
make[3]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/build_tools/autorevision'
make[3]: Entering directory `/home/eaicurtis/Desktop/trunk/src/build_tools'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/build_tools'
make[2]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/build_tools'
Making all in include
make[2]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include'
make  all-recursive
make[3]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include'
Making all in scripting
make[4]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include/scripting'
Making all in squirrel
make[5]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include/scripting/squirrel'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include/scripting/squirrel'
Making all in sqstdlib
make[5]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include/scripting/sqstdlib'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include/scripting/sqstdlib'
Making all in sqplus
make[5]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include/scripting/sqplus'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include/scripting/sqplus'
Making all in bindings
make[5]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include/scripting/bindings'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include/scripting/bindings'
Making all in include
make[5]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include/scripting/include'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include/scripting/include'
make[5]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include/scripting'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include/scripting'
make[4]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include/scripting'
Making all in tinyxml
make[4]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include/tinyxml'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include/tinyxml'
Making all in wxscintilla
make[4]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include/wxscintilla'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include/wxscintilla'
make[4]: Entering directory `/home/eaicurtis/Desktop/trunk/src/include'
make[4]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include'
make[3]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include'
make[2]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/include'
Making all in mime
make[2]: Entering directory `/home/eaicurtis/Desktop/trunk/src/mime'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/mime'
Making all in sdk
make[2]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk'
Making all in scripting
make[3]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting'
Making all in squirrel
make[4]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting/squirrel'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting/squirrel'
Making all in sqstdlib
make[4]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting/sqstdlib'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting/sqstdlib'
Making all in sqplus
make[4]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting/sqplus'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting/sqplus'
Making all in bindings
make[4]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting/bindings'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting/bindings'
make[4]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting'
make[3]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk/scripting'
Making all in wxscintilla
make[3]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk/wxscintilla'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk/wxscintilla'
Making all in resources
make[3]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk/resources'
Making all in lexers
make[4]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk/resources/lexers'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk/resources/lexers'
make[4]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk/resources'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk/resources'
make[3]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk/resources'
make[3]: Entering directory `/home/eaicurtis/Desktop/trunk/src/sdk'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/opt/wx/2.8/lib/wx/include/gtk2-ansi-release-2.8 -I/opt/wx/2.8/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet  -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT configmanager-revision.lo -MD -MP -MF ".deps/configmanager-revision.Tpo" -c -o configmanager-revision.lo configmanager-revision.cpp; \
        then mv -f ".deps/configmanager-revision.Tpo" ".deps/configmanager-revision.Plo"; else rm -f ".deps/configmanager-revision.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/opt/wx/2.8/lib/wx/include/gtk2-ansi-release-2.8 -I/opt/wx/2.8/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT configmanager-revision.lo -MD -MP -MF .deps/configmanager-revision.Tpo -c configmanager-revision.cpp  -fPIC -DPIC -o .libs/configmanager-revision.o
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/opt/wx/2.8/lib/wx/include/gtk2-ansi-release-2.8 -I/opt/wx/2.8/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet  -Ulinux -Uunix  -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT filemanager.lo -MD -MP -MF ".deps/filemanager.Tpo" -c -o filemanager.lo filemanager.cpp; \
        then mv -f ".deps/filemanager.Tpo" ".deps/filemanager.Plo"; else rm -f ".deps/filemanager.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I/opt/wx/2.8/lib/wx/include/gtk2-ansi-release-2.8 -I/opt/wx/2.8/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../src/include -I../../src/include/wxscintilla/include -I../../src/include/tinyxml -I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT filemanager.lo -MD -MP -MF .deps/filemanager.Tpo -c filemanager.cpp  -fPIC -DPIC -o .libs/filemanager.o
filemanager.cpp: In member function 'bool FileManager::WriteWxStringToFile(wxFile&, const wxString&, wxFontEncoding, bool)':
filemanager.cpp:362: error: no matching function for call to 'wxMBConvUTF7::cWC2MB(const wxChar*, size_t&, size_t*)'
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:89: note: candidates are: const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*) const
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:106: note:                const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*, size_t, size_t*) const
filemanager.cpp:367: error: no matching function for call to 'wxMBConvUTF8::cWC2MB(const wxChar*, size_t&, size_t*)'
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:89: note: candidates are: const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*) const
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:106: note:                const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*, size_t, size_t*) const
filemanager.cpp:372: error: no matching function for call to 'wxMBConvUTF16BE::cWC2MB(const wxChar*, size_t&, size_t*)'
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:89: note: candidates are: const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*) const
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:106: note:                const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*, size_t, size_t*) const
filemanager.cpp:377: error: no matching function for call to 'wxMBConvUTF16LE::cWC2MB(const wxChar*, size_t&, size_t*)'
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:89: note: candidates are: const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*) const
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:106: note:                const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*, size_t, size_t*) const
filemanager.cpp:382: error: no matching function for call to 'wxMBConvUTF32BE::cWC2MB(const wxChar*, size_t&, size_t*)'
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:89: note: candidates are: const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*) const
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:106: note:                const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*, size_t, size_t*) const
filemanager.cpp:387: error: no matching function for call to 'wxMBConvUTF32LE::cWC2MB(const wxChar*, size_t&, size_t*)'
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:89: note: candidates are: const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*) const
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:106: note:                const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*, size_t, size_t*) const
filemanager.cpp:411: error: no matching function for call to 'wxCSConv::cWC2MB(const wxChar*, size_t&, size_t*)'
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:89: note: candidates are: const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*) const
/opt/wx/2.8/include/wx-2.8/wx/strconv.h:106: note:                const wxCharBuffer wxMBConv::cWC2MB(const wchar_t*, size_t, size_t*) const
make[3]: *** [filemanager.lo] Error 1
make[3]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/eaicurtis/Desktop/trunk/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/eaicurtis/Desktop/trunk/src'
make: *** [all-recursive] Error 1
[root@localhost trunk]#


bathory 12-01-2009 04:54 PM

Googling a litlle, it looks like you hit this bug.
Maybe the last post here could be helpful.
Before running ./configure again run:
Code:

make clean
to clean the sources, before recompiling.

Regards

morty346 12-01-2009 05:13 PM

Quote:

Originally Posted by bathory (Post 3776247)
Googling a litlle, it looks like you hit this bug.
Maybe the last post here could be helpful.
Before running ./configure again run:
Code:

make clean
to clean the sources, before recompiling.

Regards

hmmm i will try this in the morning

Thank you

knudfl 12-01-2009 05:14 PM

wxGTK-2.8.10 will compile with no errors on CentOS 5.x .

Or you can build it from this source package
http://packages.sw.be/wxGTK/wxGTK-2.8.10-1.rf.src.rpm
.. with rpmbuild -bb wxgtk.spec

Or just enable the rpmforge.repo temporarily :
https://rpmrepo.org/RPMforge/Using
.. and do # yum install wxGTK-devel
.. which provides wxGTK + wxGTK-devel, version 2.8.10
.....

morty346 12-01-2009 05:17 PM

Quote:

Originally Posted by knudfl (Post 3776266)
wxGTK-2.8.10 will compile with no errors on CentOS 5.x .

Or you can build it from this source package
http://packages.sw.be/wxGTK/wxGTK-2.8.10-1.rf.src.rpm
.. with rpmbuild -bb wxgtk.spec

Or just enable the rpmforge.repo temporarily :
https://rpmrepo.org/RPMforge/Using
.. and do # yum install wxGTK-devel
.. which provides wxGTK + wxGTK-devel, version 2.8.10
.....

I tried the RPM forge
gets me in the same state

morty346 12-02-2009 09:28 AM

Quote:

Originally Posted by bathory (Post 3776247)
Googling a litlle, it looks like you hit this bug.
Maybe the last post here could be helpful.
Before running ./configure again run:
Code:

make clean
to clean the sources, before recompiling.

Regards

didn't seem to make a bit of difference

knudfl 12-02-2009 11:28 AM

If you just need a package :
http://mirror.corbina.net/pub/Linux/epel/5Server/
codeblocks : dated 01-Jul-2009

Compiling codeblocks should be possible for you.
( I have no problems.)

Building rpm packages : Too many differences between
what's available / created .. and what the spec file says.
.....

morty346 12-02-2009 11:34 AM

Quote:

Originally Posted by knudfl (Post 3777304)
If you just need a package :
http://mirror.corbina.net/pub/Linux/epel/5Server/
codeblocks : dated 01-Jul-2009

Compiling codeblocks should be possible for you.
( I have no problems.)

Building rpm packages : Too many differences between
what's available / created .. and what the spec file says.
.....

Well idk wth is going on anymore..

So i uninstalled CentOS and I am going to give it another go

I have CentOS 5.4 (which iswhat you told me to get in previous thread)

I started it up and went to Add/Remove Software and Clicked Development->Development Tools

I am downloading this package

I am then going to get wxwidgets

I will get it using yum and the rpmforge site you gave me

once I am done with this I will try the link you just provided me


Does this sound like a good solution?

morty346 12-02-2009 11:51 AM

Quote:

Originally Posted by morty346 (Post 3777315)
Well idk wth is going on anymore..

So i uninstalled CentOS and I am going to give it another go

I have CentOS 5.4 (which iswhat you told me to get in previous thread)

I started it up and went to Add/Remove Software and Clicked Development->Development Tools

I am downloading this package

I am then going to get wxwidgets

I will get it using yum and the rpmforge site you gave me

once I am done with this I will try the link you just provided me


Does this sound like a good solution?

it works

37 hours later

i will never understand you linux people

this would have been a double click in windows, and a drag to desktop in mac

knudfl 12-02-2009 04:52 PM

Even easier in Linux :

Package Manager = Add / Remove Software :

Click 'codeblocks' , and codeblocks gets installed !

.....

Codeblocks is in the EPEL repo
https://fedoraproject.org/wiki/EPEL/FAQ#howtouse
.....


All times are GMT -5. The time now is 07:09 AM.