Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

CVS changes

<< < (2/5) > >>

grv575:
This seems to work for me:


--- Code: ---#echo `wx-config --prefix`/share/aclocal >> `aclocal --print-ac-dir`/dirlist

--- End code ---

which creates on my system:

--- Code: ---# cat /usr/share/aclocal/dirlist
/opt/wx/2.6/share/aclocal

--- End code ---

mandrav:
There is hardcoded path in bootstrap (left by accident).
Edit it and change 'aclocal -I /usr/local/share/aclocal' to 'aclocal' (or update the path for your system).
This is already fixed in CVS.

grv575:
one more thing:


--- Code: ---make[4]: Entering directory `/usr/src/codeblocks/src/sdk/resources'
cd . && \
        zip -j manager_resources.zip *.xrc images/*.png > /dev/null
mv ./manager_resources.zip .
mv: `./manager_resources.zip' and `./manager_resources.zip' are the same file
make[4]: *** [manager_resources.zip] Error 1
make[4]: Leaving directory `/usr/src/codeblocks/src/sdk/resources'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/codeblocks/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/codeblocks/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/codeblocks'
make: *** [all] Error 2

--- End code ---

the Makefile in codeblocks/src/sdk/resources should probably use
mv -f
for after it zips the manager_resources (my $srcdir = .)

grv575:
This part is failing now (same problem):

--- Code: ---resources.zip:
        cd $(top_srcdir)/src/src/resources && \
                zip  resources.zip *.xrc images/*.png images/16x16/*.png > /dev/
null
        mv -f $(top_srcdir)/src/src/resources/resources.zip .

start_here.zip:
        cd $(top_srcdir)/src/src/resources/start_here && \
                zip start_here.zip *.htm* *.jpg > /dev/null
        mv -f $(top_srcdir)/src/src/resources/start_here/start_here.zip .

--- End code ---

I had to change those mv commands to mv -f
to get it to work.

I think this applies to all the resources directories (src/plugins/astyle/resources is the same).

(you're doing mkdir build; cd build; ../configure.  I'm calling configure from the codeblocks directory...)



Edit: changing mv to mv -f doesn't actually work (same error).  It was just not giving an error again since I was fixing the Makefiles as they failed and then running make again (which just reported nothing to do for that directory...)

takeshimiya:
Hi!

Now compiles ok  :), but doesn't run. :|

Debian (SimpleMepis 3.3.1), wx2.6.1 with GTK 2.6.8, NonUnicode, Code::Blocks HEAD.

---------------------------------------------------------------------------------

root@1[codeblocks]# ./bootstrap
aclocal: configure.in: 147: macro `AM_PATH_WXCONFIG' not found in library

---------------------------------------------------------------------------------

configure: apparently without  errors
make: apparently without errors
make install: apparently without errors

---------------------------------------------------------------------------------

root@1[debug]# codeblocks

(codeblocks:14397): Gtk-CRITICAL **: gtk_pixmap_new: assertion `val != NULL' failed

(codeblocks:14397): Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_WIDGET (child)' failed
Segmentation fault

---------------------------------------------------------------------------------

running codeblocks with GDB:

(codeblocks:15588): Gtk-CRITICAL **: gtk_pixmap_new: assertion `val != NULL' failed

(codeblocks:15588): Gtk-CRITICAL **: gtk_box_pack_start: assertion `GTK_IS_WIDGET (child)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224390976 (LWP 15588)]
0xb74c170a in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0

---------------------------------------------------------------------------------

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version