LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 05-24-2006, 11:01 AM   #1
Cataract
Member
 
Registered: Feb 2006
Distribution: Debian Etch+Sid
Posts: 31

Rep: Reputation: 15
Arrow 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.

Last edited by Cataract; 05-24-2006 at 11:02 AM.
 
Old 05-24-2006, 06:03 PM   #2
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
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
 
Old 05-24-2006, 06:59 PM   #3
Cataract
Member
 
Registered: Feb 2006
Distribution: Debian Etch+Sid
Posts: 31

Original Poster
Rep: Reputation: 15
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

Last edited by Cataract; 05-24-2006 at 07:01 PM.
 
Old 05-25-2006, 03:52 AM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
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.
 
Old 05-25-2006, 05:52 AM   #5
Cataract
Member
 
Registered: Feb 2006
Distribution: Debian Etch+Sid
Posts: 31

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
915resolution on Debian Etch glenerik Linux - Laptop and Netbook 6 11-08-2006 02:27 PM
Debian Etch. Theoretic Debian 14 08-08-2006 07:00 PM
Debian etch LAMP Server initialdrifteg6 Debian 3 02-05-2006 02:20 PM
which one to d/l for debian etch? greythorne Debian 8 07-27-2005 03:25 AM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration