Xfce Forum

Sub domains
 

You are not logged in.

#1 2008-07-04 10:10:30

gromozekin
Member
Registered: 2008-07-04
Posts: 1

compiling problem

Hi. I tried to install XFCE from installer, but it stops with errors. Here is my xfce-..log -

##
## Started installation of xfce4 at 10:03h
##
## Visit http://forum.xfce.org/ if you have problems using this installer.
##

# Environment variables
PATH is set to "/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/bin:/usr/bin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin:/usr/local/openssl/bin:/usr/pkg/bin:/usr/ucb:/usr/X11R6/bin:/usr/X11R6/bin:/usr/openwin/bin:/usr/local/bin:/opt/local/bin:/usr/pkg/bin:/opt/gnome2/bin:/opt/gnome/bin:/opt/xfce4/bin:/opt/xfce/bin:/root/local/bin:/root/xfce/bin:/root/xfce4/bin"
PKG_CONFIG_PATH is set to "/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/usr/X11R6/lib/pkgconfig"

## Checking for usable C compiler
gcc --version
gcc (GCC) 4.2.3
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## Checking for usable C++ compiler
g++ --version
g++ (GCC) 4.2.3
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## Checking for GNU make
make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i486-slackware-linux-gnu

## Checking for package config tool
pkg-config --version
0.23

## Checking for GLib (GModule) >= 2.6.0
pkg-config --atleast-version=2.6.0 glib-2.0 gmodule-2.0
Prefix=/usr
Cflags=-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
Libs=-Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0  

## Checking for Gtk+ >= 2.6.0
pkg-config --atleast-version=2.6.0 gtk+-2.0
Prefix=/usr
Cflags=-D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1  
Libs=-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  

## Compiling installer-gui (warnings enabled)
gcc -I. -Ii2t -DHAVE_MEMORY_H -DHAVE_STRING_H -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -O0 -o installer-gui main.c i2t/i2t-wizard.c i2t/i2t-page.c i2t/i2t-package.c i2t/xfce-heading.c i2t/xfce-titled-dialog.c -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0     -Wall -Werror
In file included from /usr/include/signal.h:333,
                 from main.c:3:
/usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from ./i2t/i2t-page.h:27,
                 from ./i2t/i2t-wizard.h:27,
                 from main.c:7:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from main.c:12:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
cc1: warnings being treated as errors
main.c:51: warning: pointer targets in initialization differ in signedness
main.c:52: warning: pointer targets in initialization differ in signedness
main.c: In function 'c403089444_activated':
main.c:251: warning: comparisons like X<=Y<=Z do not have their mathematical meaning
main.c: In function 'c403089396_check':
main.c:723: error: 'ENOENT' undeclared (first use in this function)
main.c:723: error: (Each undeclared identifier is reported only once
main.c:723: error: for each function it appears in.)
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from ./i2t/i2t-page.h:27,
                 from ./i2t/i2t-wizard.h:27,
                 from i2t/i2t-wizard.c:25:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from ./i2t/i2t-page.h:27,
                 from i2t/i2t-page.c:24:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from i2t/i2t-package.h:27,
                 from i2t/i2t-package.c:27:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from i2t/xfce-heading.h:24,
                 from i2t/xfce-heading.c:32:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from i2t/xfce-heading.h:24,
                 from i2t/xfce-titled-dialog.c:31:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
## Compiling installer-gui (warnings disabled)
gcc -I. -Ii2t -DHAVE_MEMORY_H -DHAVE_STRING_H -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -O0 -o installer-gui main.c i2t/i2t-wizard.c i2t/i2t-page.c i2t/i2t-package.c i2t/xfce-heading.c i2t/xfce-titled-dialog.c -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0     
In file included from /usr/include/signal.h:333,
                 from main.c:3:
/usr/include/bits/sigcontext.h:28:29: error: asm/sigcontext.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from ./i2t/i2t-page.h:27,
                 from ./i2t/i2t-wizard.h:27,
                 from main.c:7:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/errno.h:36,
                 from main.c:12:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
main.c: In function 'c403089396_check':
main.c:723: error: 'ENOENT' undeclared (first use in this function)
main.c:723: error: (Each undeclared identifier is reported only once
main.c:723: error: for each function it appears in.)
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from ./i2t/i2t-page.h:27,
                 from ./i2t/i2t-wizard.h:27,
                 from i2t/i2t-wizard.c:25:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from ./i2t/i2t-page.h:27,
                 from i2t/i2t-page.c:24:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from i2t/i2t-package.h:27,
                 from i2t/i2t-package.c:27:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from i2t/xfce-heading.h:24,
                 from i2t/xfce-heading.c:32:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:153,
                 from /usr/include/limits.h:145,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:122,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-slackware-linux/4.2.3/include/limits.h:11,
                 from /usr/lib/glib-2.0/include/glibconfig.h:11,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from i2t/xfce-heading.h:24,
                 from i2t/xfce-titled-dialog.c:31:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory

oh, distro is zeneee, modified slackware *a little bit*, installation from repos is awfull - netpkg cant install libgamin...and lots of other dependencies

Offline

#2 2008-08-12 12:06:17

tsuedesu
Member
Registered: 2008-08-12
Posts: 1

Re: compiling problem

Meeep!!

I had this error on two different systems and for a moment thought it was a bug in the xprint source...however, I sat and read through a manual build of xprint and spotted a small line that clued me in. Perhaps the XFCE team and add a CUPS DEV code check to their list of dependencies for the GUI installer.

To solve the problem of XFPRINT failing, install the CUPS development packages. That will sorted it out in a hurry.


*wipes brow of sweat and blood tears*

TsueDesu a.k.a This is Stick!

P.S. Have FUN!!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 611.18 KiB (Peak: 655.27 KiB) ]