View previous topic :: View next topic |
Author |
Message |
gentooer n00b
Joined: 01 Aug 2005 Posts: 2
|
Posted: Mon Aug 01, 2005 2:04 pm Post subject: Compilation Problems |
|
|
Hi there,
I hope you can help me.
For a while now, there are several programs that cannot be compiled, for example gnome-spell. I always get the following error:
>>> emerge (1 of 81) app-text/gnome-spell-1.0.6 to /
>>> md5 files gnome-spell-0.5.ebuild
>>> md5 files gnome-spell-1.0.5-r2.ebuild
>>> md5 files gnome-spell-1.0.6.ebuild
>>> md5 files files/digest-gnome-spell-0.5
>>> md5 files files/gnome-spell-1.0.5-enchant.patch
>>> md5 files files/digest-gnome-spell-1.0.5-r2
>>> md5 files files/gnome-spell-1.0.5-gtk24.patch
>>> md5 files files/digest-gnome-spell-1.0.6
>>> md5 files files/gnome-spell-1.0.6-combo.patch
>>> md5 files files/gnome-spell-1.0.6-enchant.patch
>>> md5 src_uri gnome-spell-1.0.6.tar.bz2
>>> Unpacking source...
>>> Unpacking gnome-spell-1.0.6.tar.bz2 to /var/tmp/portage/gnome-spell-1.0.6/work
* Applying gnome-spell-1.0.6-enchant.patch ... [ ok ]
* Applying gnome-spell-1.0.6-combo.patch ... [ ok ]
* Runnig aclocal
/usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of AC_PATH_DPS_GUESS_GNUSTEP
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of AC_PATH_DPS_GUESS
/usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of AC_PATH_DPS_CHECK_LIB
/usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of AC_PATH_DPS_CHECK_HEADER
/usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of AC_PATH_DPS_CHECK
/usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of AC_PATH_DPS
/usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of AC_CHECK_DPS_NXAGENT
/usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of AC_PATH_DPSET
/usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of AC_PROG_PSWRAP
/usr/share/aclocal/path_dps.m4:172: file `path_dps.m4' does not exist
!!! ERROR: app-text/gnome-spell-1.0.6 failed.
!!! Function src_unpack, Line 43, Exitcode 1
!!! aclocal failed
!!! If you need support, post the topmost build error, NOT this status message.
What can I do ?
Thanks,
Sebastian |
|
Back to top |
|
|
UgolinoII Tux's lil' helper
Joined: 25 Apr 2004 Posts: 119
|
Posted: Mon Aug 01, 2005 2:34 pm Post subject: |
|
|
try the suggestion in the error:
Quote: | run info '(automake)Extending aclocal' |
|
|
Back to top |
|
|
jmz2 Guru
Joined: 13 Jan 2004 Posts: 421 Location: Finland
|
Posted: Mon Aug 01, 2005 3:48 pm Post subject: |
|
|
UgolinoII wrote: | try the suggestion in the error: |
This gives only information about extending aclocal. However, this error is caused when you try to build packages from Portage -- I doubt Gentooer was developing M4 scripts...
My solution was to edit line 172 of /usr/share/aclocal/path_dps.m4 and remove the text Code: | dnl include(path_dps.m4) |
This isn't the correct way to do this, since it gives loads of error messages of underquoted definitions, but at least the software compiles then. |
|
Back to top |
|
|
jmz2 Guru
Joined: 13 Jan 2004 Posts: 421 Location: Finland
|
Posted: Mon Aug 01, 2005 3:56 pm Post subject: |
|
|
You could also remove the package which provides path_dps.m4: Code: | $ equery b /usr/share/aclocal/path_dps.m4
[ Searching for file(s) /usr/share/aclocal/path_dps.m4 in *... ]
app-text/dgs-0.5.10-r1 (/usr/share/aclocal/path_dps.m4)
$ emerge search dgs
Searching...
[ Results for search key : dgs ]
[ Applications found : 0 ]
$ emerge -C dgs |
|
|
Back to top |
|
|
gentooer n00b
Joined: 01 Aug 2005 Posts: 2
|
Posted: Mon Aug 01, 2005 5:59 pm Post subject: |
|
|
Thank you jmz2, I tried the second workaround and it did the trick!
I still wonder, where do these errors come from in the first place (and what does it mean) ?
I am runnig several Gentoo machines, but none has had this error so far.
Maybe someone can explain this to me, although I'm a non-programmer ? |
|
Back to top |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Tue Aug 30, 2005 7:43 am Post subject: |
|
|
jmz2 wrote: | You could also remove the package which provides path_dps.m4: Code: | $ equery b /usr/share/aclocal/path_dps.m4
[ Searching for file(s) /usr/share/aclocal/path_dps.m4 in *... ]
app-text/dgs-0.5.10-r1 (/usr/share/aclocal/path_dps.m4)
$ emerge search dgs
Searching...
[ Results for search key : dgs ]
[ Applications found : 0 ]
$ emerge -C dgs |
|
Thanx for the solution to my problem! |
|
Back to top |
|
|
Woland Apprentice
Joined: 02 Aug 2002 Posts: 248 Location: Russian Jack, Alaska
|
Posted: Wed Aug 31, 2005 9:05 pm Post subject: |
|
|
gentooer wrote: | Thank you jmz2, I tried the second workaround and it did the trick!
I still wonder, where do these errors come from in the first place (and what does it mean) ?
I am runnig several Gentoo machines, but none has had this error so far.
Maybe someone can explain this to me, although I'm a non-programmer ? |
I don't think you have to be a non programmer to not understand this problem. Froom a Google search: "DGS is an extenstion of ghostscript that implements display postscript (DPS)" What this has to do with gnome-spell, I have no idea, but baically, it provided something which automake thought it needed to compile the package, but, as it turns out, it really doesn't.
Anyway, dgs is no longer in portage, probably replaced by something else, so I guess it was just a bit of old cruft on both your system and mine (I had the same problem, solved it with the same solution). Any system, after time will get a nice layer of cruft, and this amount, so easily dispenced with, is not so bad.
I hope that helps. _________________ |
|_______________________________________
And some days the Universe just gives you the finger. |
|
Back to top |
|
|
GungHo Apprentice
Joined: 27 Aug 2004 Posts: 254
|
Posted: Sun Sep 18, 2005 7:14 am Post subject: |
|
|
Gentoo rulez , as this thread has alo helped me solving the same prob |
|
Back to top |
|
|
|