LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-08-2007, 02:04 PM   #1
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Rep: Reputation: 15
Can't install GCONF :/


I'm trying to install CompizFusion from the GIT and it's a major PITA.

When i try to do it via

Quote:
./autogen.sh --prefix=/usr/local --enable-librsvg --disable-kde && make && sudo make install
I get an error about "GCONF_HEADERS_SOURCE". This has to do with GConf so i tried to install that. I can't because it's says that it's missing some package (ORbit or something like that). I've installed that package , latest version, and it's still giving the same error so i gave up with it... It's impossible to install i guess. Can i make it install without using GCONF?

Anyway, if i try to install fusion via the regular ./configure, make...... i get an error saying that Intltool is not the latest version altough i have the latest version of intltool installed. Can i make it ./configure without using intltool (--remove-intltool or something like that).

This has been causing me major headaches for the last couple of days and i'm thinking of giving up on that crap all together. I have it installed under Ubuntu without any problems... but that uses Gnome so it's expected to work...

Noone seems to know anything on any forum about slack12 and comp. fusion so this is my last try untill someone posts a faq/how-to somewhere for it.

Last edited by AriciU; 07-08-2007 at 02:08 PM.
 
Old 07-08-2007, 02:25 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,514

Rep: Reputation: 90
Have you looked into Gnome libs? gnashley had them for 11.0 on his mirror, but I don't know if Gilbert has compiled and uploaded them for Slackware 12.0 as well.
Someone asked yesterday or the day before about some Gnome for Slackware (Slackbot Gnome) -- on that link I read something about different flavours (only basic libraries up till full Gnome install), so that might be a choice as well if you really need gconf.

I am NOT sure if gconf can be compiled another way but I fear you need some of those libs ...
 
Old 07-08-2007, 02:30 PM   #3
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Original Poster
Rep: Reputation: 15
I see. There no way i'm installing Gnome just so i can compile that....
 
Old 07-08-2007, 03:31 PM   #4
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 50
I have gconf without gnome. I remember having big problems, but it was a while back when slack 12 was simmering away in -current, so I cant give you a step-by-step, but its not impossible. I think I needed it for libgphoto.

Looking in my 'compile' directory, I see I built orbit as well (ORBit2-2.14.7).

So if I can do it, so can you.

tobyl
 
Old 07-08-2007, 03:43 PM   #5
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
On a stock Slackware 12, compiling these in the order listed builds everything just fine.

intltool
docbook-xml
scrollkeeper
docbook-xsl
gtk-doc
orbit2
libbonobo
gconf

You could probably ditch gtk-doc and maybe another one or two. Try it and see. Those are hardly any extra packages at all.

That or look for a --disable-gconf in the original source your trying to compile. You can build compiz with --disable-gconf so if your building something that works with compiz, then it would seem really silly to impose a gconf dep when compiz itself doesn't...

EDIT:

I have a feeling you might be able to get away with this:

intltool
orbit2
libbonobo
gconf

But I'm not overly sure. Only way to find out is to try..

Last edited by jong357; 07-08-2007 at 03:49 PM.
 
Old 07-08-2007, 05:00 PM   #6
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Original Poster
Rep: Reputation: 15
I'll give it a try with those packages. I remember some error with gtk-doc... I thought it just pointed to the /doc directory so i was trying like crazy to do it with --without-gtk-doc or something like that

Hope it works this time. I just reinstalled slackware 12 because i messed it up trying to install gconf and compiz-fusion. It would freeze about every 10mins or so and i had to do ctrl-alt-backspace; startx; only to freeze again in another 10mins.
 
Old 07-08-2007, 05:34 PM   #7
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Original Poster
Rep: Reputation: 15
I found docbook-xsl but can't seem to find docbook-xml. All i got was a .zip file from http://www.docbook.org/xml/ witch i can't/don't know how to install.
 
Old 07-08-2007, 05:47 PM   #8
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Original Poster
Rep: Reputation: 15
Installed it

Thanks! Will try to install fusion now.
 
Old 07-08-2007, 06:04 PM   #9
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Original Poster
Rep: Reputation: 15
This sucks. I install GCONF-2.xx (latest version) and still couldn't build compiz because of the error:

Quote:
autoreconf: running: /usr/bin/autoconf
configure.ac:7: error: possibly undefined macro: AC_PROG_INTLTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:157: error: possibly undefined macro: AM_GCONF_SOURCE_2
autoreconf: /usr/bin/autoconf failed with exit status: 1
So i tried to install GConf-1.xxx (latest version) but got the same error as few hours ago:

Quote:
*** Building HTML ***
rm -rf ./html
mkdir ./html
cd ./html && gtkdoc-mkhtml gconf ../gconf.sgml
/usr/bin/openjade:../sgml/gconf.sgml:183:57:E: there is no attribute "CONDITION"
make[3]: *** [html-build.stamp] Error 1
make[3]: Leaving directory `/root/stuff/pt-compiz-gconf/GConf-1.2.1/doc/gconf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/stuff/pt-compiz-gconf/GConf-1.2.1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/stuff/pt-compiz-gconf/GConf-1.2.1'
make: *** [all-recursive-am] Error 2
This is driving me insane!
 
Old 07-08-2007, 06:12 PM   #10
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Original Poster
Rep: Reputation: 15
Installed automake 1.10 (i had 1.09) and now i'm getting an autoconf error. My autoconf is 2.61 witch is the latest (((((

Quote:
autoreconf: running: /usr/bin/autoconf
configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:23: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
autoreconf: /usr/bin/autoconf failed with exit status: 1
 
Old 07-08-2007, 06:26 PM   #11
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Original Poster
Rep: Reputation: 15
Now i'm getting:

Quote:
plugins/Makefile.am:143: Libtool library used but `LIBTOOL' is undefined
plugins/Makefile.am:143: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
plugins/Makefile.am:143: to `configure.ac' and run `aclocal' and `autoconf' again.
plugins/Makefile.am:143: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
plugins/Makefile.am:143: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
AC_PROG_LIBTOOL exists in configure.ac

How can i install this macro if i don't have it?
 
Old 07-08-2007, 06:28 PM   #12
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
What's the git command to grab compizfusion?
 
Old 07-08-2007, 06:32 PM   #13
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Original Poster
Rep: Reputation: 15
Quote:
git clone git://git.freedesktop.org/git/xorg/app/compiz
git clone git://anongit.opencompositing.org/fusion/libraries/bcop
git clone git://anongit.opencompositing.org/fusion/compizconfig/ccsm
git clone git://anongit.opencompositing.org/fusion/compizconfig/libcompizconfig
git clone git://anongit.opencompositing.org/fusion/compizconfig/compizconfig-python
git clone git://anongit.opencompositing.org/fusion/plugins-main
git clone git://anongit.opencompositing.org/fusion/decorators/emerald
git clone git://anongit.opencompositing.org/fusion/decorators/emerald-themes
git clone git://anongit.opencompositing.org/users/crdlb/fusion-icon
git clone git://anongit.opencompositing.org/fusion/plugins-extra
git clone git://anongit.opencompositing.org/fusion/plugins-unsupported
These are all the latest packages. I'm stuck at step one... compiling /compiz
 
Old 07-08-2007, 06:40 PM   #14
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Original Poster
Rep: Reputation: 15
Ok. Now i'm getting somewhere. I got rid of all the macro errors by installing Glib and libtool.

Now i'm getting this error:

Quote:
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... cs de es fi fr hu it ja pl pt_BR sv zh_CN zh_TW af ar bg bn bs ca cy da el en_GB en_US et gl gu he hi hr id ka km ko lo lt mk mr nb nl pa pt ro ru sk sl sr ta tr uk vi xh zu
checking whether byte ordering is bigendian... no
./configure: line 22950: syntax error near unexpected token `COMPIZ,'
./configure: line 22950: `PKG_CHECK_MODULES(COMPIZ, $COMPIZ_REQUIRES)'
This error is not "suggestive" on what to install next at all unfortunately.

EDIT:

Took a look in configure.ac and found out that it needs this:

Quote:
COMPIZ_REQUIRES="libpng \
xcomposite \
xfixes \
xdamage \
xrandr \
xinerama \
ice \
sm \
libxml-2.0 \
libxslt \
libstartup-notification-1.0 >= 0.7"

PKG_CHECK_MODULES(COMPIZ, $COMPIZ_REQUIRES)
AC_SUBST(COMPIZ_REQUIRES)
It didn't give a specific error as to witch is missing but i'm gonna install them and see what happens next.

Last edited by AriciU; 07-08-2007 at 06:43 PM.
 
Old 07-08-2007, 07:16 PM   #15
AriciU
Member
 
Registered: Jul 2007
Location: Bucharest, Romania
Distribution: Ubuntu 7.04, Slackware 12
Posts: 87

Original Poster
Rep: Reputation: 15
Bleh. Had to edit and comment a bunch of lines in configure.ac to stop the error spitting and managed to ./configure.

Now when i do make i get

Quote:
In file included from main.c:37:
../include/compiz.h:43:27: error: libxml/parser.h: No such file or directory
../include/compiz.h:46:22: error: libsn/sn.h: No such file or directory
In file included from main.c:37:
../include/compiz.h:759: error: expected specifier-qualifier-list before 'SnDisplay'
../include/compiz.h:1750: error: expected specifier-qualifier-list before 'SnStartupSequence'
../include/compiz.h:1893: error: expected specifier-qualifier-list before 'SnMonitorContext'
../include/compiz.h:3182: error: expected specifier-qualifier-list before 'xmlDoc'
../include/compiz.h:3214: error: expected declaration specifiers or '...' before 'xmlInputReadCallback'
../include/compiz.h:3215: error: expected declaration specifiers or '...' before 'xmlInputCloseCallback'
main.c: In function 'compLogMessage':
main.c:108: error: 'va_list' undeclared (first use in this function)
main.c:108: error: (Each undeclared identifier is reported only once
main.c:108: error: for each function it appears in.)
main.c:108: error: expected ';' before 'args'
main.c:114: warning: implicit declaration of function 'va_start'
main.c:114: warning: nested extern declaration of 'va_start'
main.c:114: error: 'args' undeclared (first use in this function)
main.c:121: error: 'CompDisplay' has no member named 'logMessage'
main.c:123: warning: implicit declaration of function 'va_end'
main.c:123: warning: nested extern declaration of 'va_end'
main.c: In function 'main':
main.c:423: warning: implicit declaration of function 'xmlInitParser'
main.c:423: warning: nested extern declaration of 'xmlInitParser'
main.c:425: error: 'LIBXML_TEST_VERSION' undeclared (first use in this function)
main.c:436: error: too many arguments to function 'compAddMetadataFromIO'
main.c:458: warning: implicit declaration of function 'xmlCleanupParser'
main.c:458: warning: nested extern declaration of 'xmlCleanupParser'
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/root/stuff/compiz-fusion/compiz/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/stuff/compiz-fusion/compiz'
make: *** [all] Error 2
This sux.
 
  


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
gconf problems AhYup Slackware 7 03-19-2005 07:25 PM
gconf is just for gnome?? marlor Slackware 1 08-01-2004 10:26 PM
I can't > make install GConf Kme1e0n Linux - Software 0 12-02-2003 04:16 PM
NFS and GConf Error w/ Gnome on new install of Slackware 9 BadQuanta Slackware 1 03-31-2003 12:07 AM
Configure gconf? frkstein Linux - General 1 02-16-2002 10:41 PM


All times are GMT -5. The time now is 02:39 PM.

Main Menu
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