LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   debian etch and xfce 4.3.90-1 (https://www.linuxquestions.org/questions/debian-26/debian-etch-and-xfce-4-3-90-1-a-448085/)

Cataract 05-24-2006 10:01 AM

debian etch and xfce 4.3.90-1
 
Hi.

I downlowed xfce from this link http://www.xfce.org/index.php?page=download&lang=en
and i made those steps and preperations: http://www.os-works.com/documentatio.../#preparations

when i started to compile xfce, i got this problem when i was trying to build mousepad:

Code:

## Building mousepad
make  all-recursive
make[1]: Entering directory `/tmp/xfce4-4.3.90.1-installer/mousepad'
Making all in po
make[2]: Entering directory `/tmp/xfce4-4.3.90.1-installer/mousepad/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/xfce4-4.3.90.1-installer/mousepad/po'
Making all in src
make[2]: Entering directory `/tmp/xfce4-4.3.90.1-installer/mousepad/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"mousepad\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DICONDIR=\""/usr/local/share/pixmaps"\"  -I/usr/local/include  -I/usr/X11R6/include -I/usr/X11R6/include -DXTHREADS -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/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -DXTHREADS -I/usr/X11R6/include -I/usr/local/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0  -fno-strict-aliasing -Werror -Wall -I/usr/local/include  -I/usr/X11R6/include -I/usr/X11R6/include -O2 -pipe -MT mousepad-main.o -MD -MP -MF ".deps/mousepad-main.Tpo" -c -o mousepad-main.o `test -f 'main.c' || echo './'`main.c; \
        then mv -f ".deps/mousepad-main.Tpo" ".deps/mousepad-main.Po"; else rm -f ".deps/mousepad-main.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"mousepad\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DICONDIR=\""/usr/local/share/pixmaps"\"  -I/usr/local/include  -I/usr/X11R6/include -I/usr/X11R6/include -DXTHREADS -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/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -DXTHREADS -I/usr/X11R6/include -I/usr/local/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0  -fno-strict-aliasing -Werror -Wall -I/usr/local/include  -I/usr/X11R6/include -I/usr/X11R6/include -O2 -pipe -MT mousepad-window.o -MD -MP -MF ".deps/mousepad-window.Tpo" -c -o mousepad-window.o `test -f 'window.c' || echo './'`window.c; \
        then mv -f ".deps/mousepad-window.Tpo" ".deps/mousepad-window.Po"; else rm -f ".deps/mousepad-window.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"mousepad\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DICONDIR=\""/usr/local/share/pixmaps"\"  -I/usr/local/include  -I/usr/X11R6/include -I/usr/X11R6/include -DXTHREADS -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/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -DXTHREADS -I/usr/X11R6/include -I/usr/local/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0  -fno-strict-aliasing -Werror -Wall -I/usr/local/include  -I/usr/X11R6/include -I/usr/X11R6/include -O2 -pipe -MT mousepad-menu.o -MD -MP -MF ".deps/mousepad-menu.Tpo" -c -o mousepad-menu.o `test -f 'menu.c' || echo './'`menu.c; \
        then mv -f ".deps/mousepad-menu.Tpo" ".deps/mousepad-menu.Po"; else rm -f ".deps/mousepad-menu.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"mousepad\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DICONDIR=\""/usr/local/share/pixmaps"\"  -I/usr/local/include  -I/usr/X11R6/include -I/usr/X11R6/include -DXTHREADS -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/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -DXTHREADS -I/usr/X11R6/include -I/usr/local/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0  -fno-strict-aliasing -Werror -Wall -I/usr/local/include  -I/usr/X11R6/include -I/usr/X11R6/include -O2 -pipe -MT mousepad-callback.o -MD -MP -MF ".deps/mousepad-callback.Tpo" -c -o mousepad-callback.o `test -f 'callback.c' || echo './'`callback.c; \
        then mv -f ".deps/mousepad-callback.Tpo" ".deps/mousepad-callback.Po"; else rm -f ".deps/mousepad-callback.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"mousepad\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DICONDIR=\""/usr/local/share/pixmaps"\"  -I/usr/local/include  -I/usr/X11R6/include -I/usr/X11R6/include -DXTHREADS -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/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -DXTHREADS -I/usr/X11R6/include -I/usr/local/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0  -fno-strict-aliasing -Werror -Wall -I/usr/local/include  -I/usr/X11R6/include -I/usr/X11R6/include -O2 -pipe -MT mousepad-keyevent.o -MD -MP -MF ".deps/mousepad-keyevent.Tpo" -c -o mousepad-keyevent.o `test -f 'keyevent.c' || echo './'`keyevent.c; \
        then mv -f ".deps/mousepad-keyevent.Tpo" ".deps/mousepad-keyevent.Po"; else rm -f ".deps/mousepad-keyevent.Tpo"; exit 1; fi
cc1: warnings being treated as errors
callback.c: In function ‘cb_file_print’:
callback.c:175: warning: pointer targets in passing argument 5 of ‘g_convert’ differ in signedness
callback.c:175: warning: pointer targets in passing argument 6 of ‘g_convert’ differ in signedness
make[2]: *** [mousepad-callback.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/xfce4-4.3.90.1-installer/mousepad/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/xfce4-4.3.90.1-installer/mousepad'
make: *** [all] Error 2
!! Failed to build mousepad, see the errors above
!! for details on the problem.


any help? what i must do? i also tryed to install mousepad from synaptic but the problem still exist.
thanks in advance.

Dead Parrot 05-24-2006 05:03 PM

I don't compile stuff often but I wanted to try this new beta version of Xfce on my Debian system and after two or three attempts I managed to install it successfully. I also made some notes in case I wanted to do it again. Here are my notes, hopefully they can help you to solve your problem:

-- add your user to the "staff" group (so you can install stuff to /usr/local as a normal user), logout & login
* "su" to root
-- install the "build-essential" & "pkg-config" packages
-- add the "deb-src" repository line to /etc/apt/sources.list and run "apt-get update"
-- install build dependencies (apt-get build-dep xfdesktop4 xfce4-terminal xfprint4 alsa-utils)
* "exit" to become a normal user again
-- download the Xfce GUI-installer (for example, to ~/tmp/xfce) and make it executable (chmod +x)
-- run the Xfce GUI-installer (sh ~/tmp/xfce/xfce4-4.3.90.1-installer.bin) and point it to /usr/local/xfce

Cataract 05-24-2006 05:59 PM

Thanks.

do you mean those deb-src?



#DEBIAN TESTING
deb http://soleup.eup.uva.es/xfce4.4/testing ./
deb-src http://soleup.eup.uva.es/xfce4.4/testing ./

#DEBIAN UNSTABLE
deb http://soleup.eup.uva.es/xfce4.4/testing ./
deb-src http://soleup.eup.uva.es/xfce4.4/testing/ ./
deb http://soleup.eup.uva.es/xfce4.4/unstable ./
deb-src http://soleup.eup.uva.es/xfce4.4/unstable ./

#ADDONS (testing o unstable)
deb http://soleup.eup.uva.es/xfce4.4/addons ./
deb-src http://soleup.eup.uva.es/xfce4.4/addons ./

i take this message when i run apt-get build-dep xfdesktop4 xfce4-terminal xfprint4 alsa-utils
Code:

Reading package lists... Done
Building dependency tree... Done
E: Build-Depends dependency for xfce4-terminal cannot be satisfied because the package autotools-dev cannot be found

does those tools are for unstable?





i always take this message in the gui-installer and in my previews post you can see the error log.

Code:

Xfce GTK+ engine and themes
Running configure... done
Running make all... done
Running make install... done
Cleaning up... done
Xfce Icon Theme
Running configure... done
Running make all... done
Running make install... done
Cleaning up... done
Xfce Utility Library
Running configure... done
Running make all... done
Running make install... done
Cleaning up... done
Xfce MCS Library
Running configure... done
Running make all... done
Running make install... done
Cleaning up... done
Xfce GUI Library
Running configure... done
Running make all... done
Running make install... done
Cleaning up... done
Xfce MCS Manager
Running configure... done
Running make all... done
Running make install... done
Cleaning up... done
EXO Application Library
Running configure... done
Running make all... done
Running make install... done
Cleaning up... done
Mousepad Text Editor
Running configure... done
Running make all... failed


Dead Parrot 05-25-2006 02:52 AM

The autotools-dev package should be available for Debian testing. http://packages.debian.org/cgi-bin/s...ng&release=all

You need to set the official Debian package repos like explained in APT HOWTO: http://www.debian.org/doc/manuals/ap...basico.en.html

Your /etc/apt/sources.list should contain something like this:

deb http://http.us.debian.org/debian testing main contrib non-free
deb-src http://http.us.debian.org/debian testing main contrib non-free


When I don't need the source .deb packages, I usually comment the deb-src line in order to make "apt-get update" quicker. But "apt-get build-dep" needs the deb-src line, so I uncommented it. I also added this step to my notes, so I wouldn't forget it.

I'm not sure but I think "apt-get build-dep xfprint4" might solve the problem you have in building mousepad. IIRC, mousepad is a version of a text editor called leafpad with Xfce printing support added. So it would probably make sense that mousepad fails to compile if the build dependencies for xfprint4 are missing.

Cataract 05-25-2006 04:52 AM

Quote:

Originally Posted by Dead Parrot
The autotools-dev package should be available for Debian testing. http://packages.debian.org/cgi-bin/s...ng&release=all

You need to set the official Debian package repos like explained in APT HOWTO: http://www.debian.org/doc/manuals/ap...basico.en.html

Your /etc/apt/sources.list should contain something like this:

deb http://http.us.debian.org/debian testing main contrib non-free
deb-src http://http.us.debian.org/debian testing main contrib non-free


When I don't need the source .deb packages, I usually comment the deb-src line in order to make "apt-get update" quicker. But "apt-get build-dep" needs the deb-src line, so I uncommented it. I also added this step to my notes, so I wouldn't forget it.

I'm not sure but I think "apt-get build-dep xfprint4" might solve the problem you have in building mousepad. IIRC, mousepad is a version of a text editor called leafpad with Xfce printing support added. So it would probably make sense that mousepad fails to compile if the build dependencies for xfprint4 are missing.


Thanks!!!! :) :)

i added in my source.list the deb
http://http.us.debian.org/debian testing main contrib non-free
deb-src http://http.us.debian.org/debian testing main contrib non-free


and then i installed leafpad (that i could find in my packages before) and the installation succesfully completed the compile. ;)

xfce rulez :p


All times are GMT -5. The time now is 05:25 AM.