You got to have xenocara installed.
On Sun, Sep 13, 2009 at 08:48:09PM -0500, Chris Bennett wrote:
> I just tried this on a different computer and got the following error:
>
> # make obj && make depend && make
> /bin/sh: cd: /usr/xenocara - No such file or directory
> *** Error code 1
>
> Stop in /home/chrisbenn/Desktop/scrotwm-0.9.6 (line 274 of
> /usr/X11R6/share/mk/bsd.xorg.mk).
> #
>
> So this means that something must be necessary in xenocara, which I
> haven't kept up to date as well as ports.
> (this laptop doesn't even have it at all)
>
> I will update xenocara and see if that fixes problem.
>
> Thanks
>
> Marco Peereboom wrote:
>> $ ftp http://www.peereboom.us/scrotwm/snapshot/scrotwm-0.9.6.tgz
>> Trying 67.78.34.36...
>> Requesting http://www.peereboom.us/scrotwm/snapshot/scrotwm-0.9.6.tgz
>> 100% |********************************************| 38548 00:00
>> Successfully retrieved file.
>> $ tar zxvf scrotwm-0.9.6.tgz
>> scrotwm-0.9.6
>> scrotwm-0.9.6/lib
>> scrotwm-0.9.6/lib/Makefile
>> scrotwm-0.9.6/lib/shlib_version
>> scrotwm-0.9.6/lib/swm_hack.c
>> scrotwm-0.9.6/linux
>> scrotwm-0.9.6/linux/Makefile
>> scrotwm-0.9.6/linux/linux.c
>> scrotwm-0.9.6/linux/swm-linux.diff
>> scrotwm-0.9.6/linux/util.h
>> scrotwm-0.9.6/Makefile
>> scrotwm-0.9.6/baraction.sh
>> scrotwm-0.9.6/initscreen.sh
>> scrotwm-0.9.6/screenshot.sh
>> scrotwm-0.9.6/scrotwm.1
>> scrotwm-0.9.6/scrotwm.c
>> scrotwm-0.9.6/scrotwm.conf
>> $ make obj && make depend && make making /tmp/scrotwm-0.9.6/obj
>> ===> lib
>> making /tmp/scrotwm-0.9.6/lib/obj
>> mkdep -a -I/usr/X11R6/include /tmp/scrotwm-0.9.6/scrotwm.c
>> ===> lib
>> mkdep -a -I/usr/X11R6/include /tmp/scrotwm-0.9.6/lib/swm_hack.c
>> cc -O2 -pipe -std=c89 -Wall -Wno-uninitialized -ggdb3 -I/usr/X11R6/include
>> -c /tmp/scrotwm-0.9.6/scrotwm.c
>> cc -o scrotwm scrotwm.o -lutil -L/usr/X11R6/lib -lX11 -lXrandr
>> /usr/X11R6/lib/libX11.so.12.0: warning: strcpy() is almost always misused,
>> please use strlcpy()
>> /usr/X11R6/lib/libX11.so.12.0: warning: strcat() is almost always misused,
>> please use strlcat()
>> /usr/X11R6/lib/libX11.so.12.0: warning: sprintf() is often misused, please
>> use snprintf()
>> nroff -Tascii -mandoc /tmp/scrotwm-0.9.6/scrotwm.1 > scrotwm.cat1
>> ===> lib
>> cc -O2 -pipe -g -Wall -Wno-uninitialized -ggdb3 -I/usr/X11R6/include -c
>> /tmp/scrotwm-0.9.6/lib/swm_hack.c -o swm_hack.o
>> building standard swmhack library
>> ranlib libswmhack.a
>> cc -O2 -pipe -g -Wall -Wno-uninitialized -ggdb3 -I/usr/X11R6/include -c
>> -fpic -DPIC /tmp/scrotwm-0.9.6/lib/swm_hack.c -o swm_hack.so
>> building shared object swmhack library
>> ranlib libswmhack_pic.a
>> building shared swmhack library (version 0.0)
>> cc -shared -fpic -o libswmhack.so.0.0 `lorder swm_hack.so|tsort -q`
>> $
>>
>> Works for me....
>>
>> On Sun, Sep 13, 2009 at 06:43:39PM -0500, Chris Bennett wrote:
>>
>>> That sounds great!
>>>
>>> A while back I asked about installing from snaps, you replied:
>>>
>>> It should work straight from snaps by:
>>> tar zxvf scrotwm-v.tgz
>>> cd scrotwm-v
>>> make obj
>>> make depend
>>> make
>>> make install
>>>
>>> I couldn't get that to work back then, or now.
>>> Is there some other step left out? Deleting older scrotwm first also
>>> doesn't help.
>>>
>>> Thanks,
>>>
>>> Chris Bennett
>>>
>>> Marco Peereboom wrote:
>>>
>>>> I dropped a new release (0.9.6). Fixed a bunch of little bugs reported by
>>>> all
>>>> kinds of people.
>>>>
>>>> It also adds the capability to have dynamic key bindings. That code
>>>> courtesy of [email protected].
>>>>
>>>>
>>>>
>>> --
>>> A human being should be able to change a diaper, plan an invasion,
>>> butcher a hog, conn a ship, design a building, write a sonnet, balance
>>> accounts, build a wall, set a bone, comfort the dying, take orders,
>>> give orders, cooperate, act alone, solve equations, analyze a new
>>> problem, pitch manure, program a computer, cook a tasty meal, fight
>>> efficiently, die gallantly. Specialization is for insects.
>>> -- Robert Heinlein
>>>
>>>
>>
>>
>>
>