Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CRUX (http://www.linux-archive.org/crux/)
-   -   Question scrotwm port dependencies (http://www.linux-archive.org/crux/528364-question-scrotwm-port-dependencies.html)

"David J. Weller-Fahy" 05-19-2011 03:43 PM

Question scrotwm port dependencies
 
While installing scrotwm today in a fresh installation of 2.7 (note -
this is before installing xorg), the compilation failed with the error
message below.

#v+
$ sudo prt-get depinst scrotwm
...
gcc -O2 -march=i686 -pipe -Wall -ggdb -D_GNU_SOURCE -I. -DSWM_LIB="/usr/lib/libswmhack.so.0.0" -c -fpic -DPIC swm_hack.c -o swm_hack.so
swm_hack.c:51:27: fatal error: X11/Intrinsic.h: No such file or directory
compilation terminated.
make: *** [swm_hack.so] Error 1
#v-

Installing xorg-libxt fixes the problem, and I wonder: Based on the port
guidelines [1], should xorg-libxt should be listed as a dependency in
the scrotwm Pkgfile? Or should it remain unlisted because (in general)
xorg will be installed before you start installing scrotwm?

[1]: http://crux.nu/Main/PortGuidelines

Just curious and looking to fix a problem that vexed me for a bit, or at
least document it for future users.

Regards,
--
dave [ please don't CC me ]
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

Juergen Daubert 05-19-2011 04:05 PM

Question scrotwm port dependencies
 
On Thu, May 19, 2011 at 06:43:29PM +0300, David J. Weller-Fahy wrote:
> While installing scrotwm today in a fresh installation of 2.7 (note -
> this is before installing xorg), the compilation failed with the error
> message below.
>
> #v+
> $ sudo prt-get depinst scrotwm
> ...
> gcc -O2 -march=i686 -pipe -Wall -ggdb -D_GNU_SOURCE -I. -DSWM_LIB="/usr/lib/libswmhack.so.0.0" -c -fpic -DPIC swm_hack.c -o swm_hack.so
> swm_hack.c:51:27: fatal error: X11/Intrinsic.h: No such file or directory
> compilation terminated.
> make: *** [swm_hack.so] Error 1
> #v-
>
> Installing xorg-libxt fixes the problem, and I wonder: Based on the port
> guidelines [1], should xorg-libxt should be listed as a dependency in
> the scrotwm Pkgfile? Or should it remain unlisted because (in general)
> xorg will be installed before you start installing scrotwm?

Thanks for the report. It's a bug, the scrotwm port should list xorg-libxt
as a dependency. I'll fix that.


regards
Juergen

--
Juergen Daubert | mailto:jue@jue.li
Korb, Germany | http://jue.li/crux

_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

"David J. Weller-Fahy" 05-19-2011 07:16 PM

Question scrotwm port dependencies
 
* Juergen Daubert <jue@jue.li> [2011-05-19 19:14 +0300]:
> > Based on the port guidelines [1], should xorg-libxt should be listed
> > as a dependency in the scrotwm Pkgfile?
>
> Thanks for the report. It's a bug, the scrotwm port should list
> xorg-libxt as a dependency. I'll fix that.

Good to know I didn't miss something simple - thanks!

--
dave [ please don't CC me ]
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux


All times are GMT. The time now is 08:34 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.