Hi,
Yes, Auria, the broken bundles are the result of me not performing 'make install' for wx. With make install, I get a working bundle.
I just have this craze trying not to do 'make install' or using the default wx lib that ship with OS X (/usr/bin).
Although I did run export PATH=/Development/wx/wx2.8.12/build-codelite-debug:$PATH before make, it seems the configure script has dependencies on the libs being under /usr/local
Problems Compiling Codelite on Mac (10.6.7)
-
- CodeLite Enthusiast
- Posts: 43
- Joined: Fri Aug 22, 2008 1:32 am
- Contact:
-
- CodeLite Enthusiast
- Posts: 43
- Joined: Fri Aug 22, 2008 1:32 am
- Contact:
Re: Problems Compiling Codelite on Mac (10.6.7)
Hmm...
I guess the right way of doing this is to provide --prefix when building the various wx builds, but do perform make install.
I guess the right way of doing this is to provide --prefix when building the various wx builds, but do perform make install.
-
- CodeLite Enthusiast
- Posts: 43
- Joined: Fri Aug 22, 2008 1:32 am
- Contact:
Re: Problems Compiling Codelite on Mac (10.6.7)
OK,
I manage to build and get a working bundle with the release version.
Debug will build but when creating the bundle I get:
I don't have lib/CodeDesigner.so at all, for all the others I got the debug version.
I manage to build and get a working bundle with the release version.
Debug will build but when creating the bundle I get:
Code: Select all
Creating Mac bundle...
Running install_name_tool...
cp: ../lib/CodeDesigner.so: No such file or directory
cp: ../lib/libwxscintillau.so: No such file or directory
cp: ../lib/libpluginu.so: No such file or directory
cp: ../lib/libcodeliteu.so: No such file or directory
cp: ../lib/libwxsqlite3u.so: No such file or directory
cp: ../lib/libdblayersqliteu.so: No such file or directory
cp: ../lib/libwxshapeframeworku.so: No such file or directory
-
- CodeLite Enthusiast
- Posts: 26
- Joined: Sat Oct 30, 2010 7:19 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Problems Compiling Codelite on Mac (10.6.7)
Can you check what are the names of the libraries that are actually there?cp: ../lib/CodeDesigner.so: No such file or directory
cp: ../lib/libwxscintillau.so: No such file or directory
cp: ../lib/libpluginu.so: No such file or directory
cp: ../lib/libcodeliteu.so: No such file or directory
cp: ../lib/libwxsqlite3u.so: No such file or directory
cp: ../lib/libdblayersqliteu.so: No such file or directory
cp: ../lib/libwxshapeframeworku.so: No such file or directory
-
- CodeLite Enthusiast
- Posts: 43
- Joined: Fri Aug 22, 2008 1:32 am
- Contact:
Re: Problems Compiling Codelite on Mac (10.6.7)
Apart from CodeDesigner.so, which is not under /lib whatsoever, all the other libraries has the same name as in the log only with 'd' at the end (so libpluginud.so, etc.)
Thanks!
Thanks!
-
- CodeLite Enthusiast
- Posts: 26
- Joined: Sat Oct 30, 2010 7:19 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Problems Compiling Codelite on Mac (10.6.7)
Hmm maybe the OSX scripts just have never been tested in debug mode
You can perhaps try to open the OSX scripts (don't remember where they are) and fix them to handle debug libraries
You can perhaps try to open the OSX scripts (don't remember where they are) and fix them to handle debug libraries
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Problems Compiling Codelite on Mac (10.6.7)
Auria wrote: (don't remember where they are) and fix them to handle debug libraries
Code: Select all
PATH_TO_CODELITE_SRC/Runtime/make_mac_bundle.sh
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 43
- Joined: Fri Aug 22, 2008 1:32 am
- Contact:
Re: Problems Compiling Codelite on Mac (10.6.7)
Attached the patch.
Although it doesn't seem to cause any issue, the bundler still produces:
I had a look at /lib for both debug and release and none has CodeDesigner.so, nor does the stable release bundle has it.
I reckon it is safe to take it out?
Although it doesn't seem to cause any issue, the bundler still produces:
Code: Select all
cp: ../lib/CodeDesigner.so: No such file or directory
I reckon it is safe to take it out?
You do not have the required permissions to view the files attached to this post.