pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Issues with scrotwm-0.9.34 snapshot
Hi all,
were someone able to get newer then 0.9.22 version of scrotwm running
in NetBSD? Bellow is output of make after 'url2pkg link_to_snapshot'
&& modification of Makefile to be same as for 0.9.22 . I even removed
wm/scrotwm and created new one to avoid patches directory, because
cksums were not working for me (and I tried add correct cksum in
distinfo). Done those modifications from patches manually to source,
but still no go.
It compiled, was able to run, but during start messages 'can not load
libX11.so'. So I tried LD_LIBRARY_PATH=/usr/X11R7/lib startx and then
it was running, but apps like ls, which and so on were not running and
complained with same message.
Tested even latest from git sources with help of original author and
nothing. Why it doesn't use correct paths even those are set in
Makefile?
Thx a lot for tips
PS: cc me, I'm not subscribed in list
===> Building for scrotwm-0.9.34
ln -sf ../scrotwm.c
gcc -O2 -pipe -I/usr/X11R7/include -I/usr/pkg/include -Wall -ggdb
-D_GNU_SOURCE -I. -DSWM_LIB=\"/usr/pkg/lib/libswmhack.so.0.0\"
-I/usr/pkg/include -I/usr/X11R7/include -c -o linux.o linux.c
ln -sf ../lib/swm_hack.c
gcc -O2 -pipe -I/usr/X11R7/include -I/usr/pkg/include -Wall -ggdb
-D_GNU_SOURCE -I. -DSWM_LIB=\"/usr/pkg/lib/libswmhack.so.0.0\"
-I/usr/pkg/include -I/usr/X11R7/include -c -o scrotwm.o scrotwm.c
gcc -O2 -pipe -I/usr/X11R7/include -I/usr/pkg/include -Wall -ggdb
-D_GNU_SOURCE -I. -DSWM_LIB=\"/usr/pkg/lib/libswmhack.so.0.0\" -c
-fpic -DPIC swm_hack.c -o swm_hack.so
scrotwm.c: In function 'send_to_ws':
scrotwm.c:3061:6: warning: pointer targets in passing argument 1 of
'snprintf' differ in signedness
/usr/include/stdio.h:346:6: note: expected 'char * __restrict__' but
argument is of type 'unsigned char *'
scrotwm.c: In function 'uniconify':
scrotwm.c:3175:8: warning: pointer targets in assignment differ in signedness
scrotwm.c: In function 'search_do_resp':
scrotwm.c:3218:8: warning: pointer targets in assignment differ in signedness
scrotwm.c: In function 'window_get_pid':
scrotwm.c:4991:2: warning: pointer targets in passing argument 1 of
'strtonum' differ in signedness
./util.h:15:11: note: expected 'const char *' but argument is of type
'unsigned char *'
scrotwm.c: In function 'manage_window':
scrotwm.c:5085:3: warning: pointer targets in passing argument 1 of
'strtonum' differ in signedness
./util.h:15:11: note: expected 'const char *' but argument is of type
'unsigned char *'
scrotwm.c:5126:6: warning: pointer targets in passing argument 1 of
'snprintf' differ in signedness
/usr/include/stdio.h:346:6: note: expected 'char * __restrict__' but
argument is of type 'unsigned char *'
swm_hack.c: In function 'set_property':
swm_hack.c:111:8: warning: pointer targets in passing argument 7 of
'xcp' differ in signedness
swm_hack.c:111:8: note: expected 'unsigned char *' but argument is of
type 'char *'
gcc -shared -fpic -o libswmhack.so.0.0 swm_hack.so -lX11 -lXrandr -lXtst
gcc -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -o scrotwm scrotwm.o linux.o -lX11 -lXrandr -lXtst
=> Unwrapping files-to-be-installed.
Home |
Main Index |
Thread Index |
Old Index