Re: Bus error when compiling gtk+-2.0
- From: "Richard Warren" <rew primagraphics co uk>
- To: <gtk-list gnome org>
- Subject: Re: Bus error when compiling gtk+-2.0
- Date: Tue, 7 May 2002 08:52:03 +0100
Hi Florent,
What sort of "make" are you using - SunOS or GNU?
I came across several problems when compiling under Solaris that were nearly
all caused by the fact I was using Sun's "make". (The biggest problem was
that it didn't like trailing backslashes followed by blank lines if I
remember correctly.)
Try using GNU make instead as that seems to work far better.
Richard.
----- Original Message -----
From: "Florent PEYRAUD" <f-peyraud ti com>
To: <gtk-list gnome org>
Sent: Thursday, May 02, 2002 1:51 PM
Subject: Re: Bus error when compiling gtk+-2.0
> I've found a solution, but it is not very stable :
>
> First I've installed GTK+2.0 on a Linux machine then I took the
gtkstockpixbufs.h file and I've made a copy on the Sun machine. Compilation
can then go on, but it stops later for the same kind of problem. The same
solution can be taken. In fact when a pixbuf operation is made, a bus error
occurs.
>
> Anyway, to complete the compilation, I had to modify the source code to
define several constants that seem to be not properly propaged.
>
> The demo program works fine except for the pixbuf section.
>
> If someone has any idea to make pixbuf work fine under solaris....
>
> Florent PEYRAUD
>
>
> >hello
> >
> >I'm dealing with upgrading from GTK+-1.2 to GTK+-2.0.2 at work (Solaris
8) and I'm encontering an issue at compiling time :
> >Everything seem to be OK in the ./configure phase
> >when doing the make command, the compilation starts.
> >Then when trying to compile gtk stock-icon, I get a error with the
command :
> >
> >../../gdk-pixbuf/gdk-pixbuf-csource --raw --build-list stock_add_16
./stock_add_16.png stock_add_24 ./stock_add_24.png stock_align_center_16
./stock_align_center_16.png stock_align_center_24
./stock_align_center_24.png stock_align_justify_16
./stock_align_justify_16.png stock_align_justify_24
./stock_align_justify_24.png stock_align_left_16 ./stock_align_left_16.png
stock_align_left_24 ./stock_align_left_24.png stock_align_right_16
./stock_align_right_16.png stock_align_right_24 ./stock_align_right_24.png
stock_apply_20 ./stock_apply_20.png stock_cancel_20 ./stock_cancel_20.png
stock_dnd_multiple_32 ./stock_dnd_multiple_32.png stock_bottom_16
./stock_bottom_16.png stock_bottom_24 ./stock_bottom_24.png stock_cdrom_16
./stock_cdrom_16.png stock_cdrom_24 ./stock_cdrom_24.png stock_clear_24
./stock_clear_24.png stock_close_20 ./stock_close_20.png stock_close_24
./stock_close_24.png stock_colorselector_24 ./stock_colorselector_24.png./ >
gtkstockpixbufs.h
> >Bus Error
> >
> >This result in creating an empty gtkstockpixbufs.h file and then
generating compilation errors.
> >
> >I tried to run the command manually and I found that the program is
looking for a lib which is not yet installed. (image loader libs from
gdk-pixbuff) In fact, the lib is compiled before but is not put at the right
place.
> >
> >So I tried to make a symbolic link to resolve the problem, but now, I
just get the BUS ERROR message.
> >
> >I also tried to compile gdk pixbuf before and making a symbolic link to
the libs but the interface has changed and then the file generation
fails..... so bad. :(
> >
> >I'm really confused and I don't know where the problem come from, so if
anyone has an idea, it would be very nice to help me ;)
> >
> >Thank you
>
> --
> ----------------------------------
> Florent PEYRAUD
> Stagiaire Texas Instruments
> f-peyraud ti com
> 04 93 22 14 27
> ----------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]