Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!pbinfo!pbinfo-n!x-window From: x-window@uni-paderborn.de (X-Window {TARGON/SUN}) Newsgroups: comp.windows.x Subject: Problems building XView 2.0 (REPOST) Keywords: XView Message-ID: Date: 30 Aug 90 16:50:31 GMT Sender: news@uni-paderborn.de (News Uni-Paderborn) Reply-To: swen@uni-paderborn.de Distribution: comp Organization: Uni Paderborn FB 17 Informatik GERMANY Lines: 83 [Sorry if you get this again, I'm not sure my message reached the world :-) (I said Distribution: World, I think it should be comp ). So here it is again: ] Today I tried to compile XView 2.0 on a SparcStation and on a Sun 3/50 with SunOS 4.0.3. Unfortunately I did not succeed, I got the following error: > making all in ./lib/libxvol/frame... > ln -s ../../libxview/xstrings strings > rm -f frame.o shared/frame.o > cc -E -DSHAREDCODE -DSUNSHLIB -O -I/homes/triton/X11R4/more_contrib/XView/xview2/build/usr/include -I/usr/include frame.c \ > | xstr -l _libxview_xstr -c - > cc -pic -DSHAREDCODE -DSUNSHLIB -O -I/homes/triton/X11R4/more_contrib/XView/xview2/build/usr/include -I/usr/include -c x.c \ > -o shared/frame.o > cc: Fatal error in cpp: Segmentation fault > *** Error code 1 Fortunately I found a workaround for this problem: In line 223 of config/XView.rules insert -Qoption cpp -P after $(CC). Then cpp doesn't dump core anymore. But this is not the only problem I had (and have) with XView 2.0 . I tried to print xview2/doc/conversion/Book.ps on our LaserWriter 2 and on our LaserWriter Plus, but after page 13 each printer says: %%[ Error: rangecheck; OffendingCommand: getinterval ]%% %%[ Flushing: rest of job (to end-of-file) will be ignored ]%% (pageview from OpenWindows 2.0 dies after page 13, too). How can I print this document (I need it!). Next problem: Where has WIN_EVENT_STATE gone ??? I can`t find it in the header-files, but cv2xview doesn't complain about it. Remember: I wasn't able to print the conversion document :-) And another problem: In xview2/config/XView.obj I had to change the lines BuildIncludes($(HDRSPUBLIC),$(PUB_INCDIR),/**/) BuildIncludes($(HDRSPUBLIC),$(XVPUB_INCDIR),/**/) BuildIncludes($(HDRSPRIVATE),$(PRI_INCDIR),/**/) BuildIncludes($(HDRSPRIVATE),$(XVPRI_INCDIR),/**/) to BuildIncludes($(HDRSPUBLIC),$(PUB_INCDIR),.) BuildIncludes($(HDRSPUBLIC),$(XVPUB_INCDIR),.) BuildIncludes($(HDRSPRIVATE),$(PRI_INCDIR),.) BuildIncludes($(HDRSPRIVATE),$(XVPRI_INCDIR),.) 'cause the first version built symbolic links of the form alert.h -> ../../../..//./lib/libxvol/notice/alert.h ^^ in xview2/build/usr/include/xview, and so the header-files couldn't be found. Last and least a problem with imake in general: It should be possible to set StripInstalledPrograms to YES without these annoying problems with shellscripts (strip doesn't like them: [...] install -c -s xmkmf /usr/bin/xview install: xmkmf not in a.out format. *** Error code 1 make: Fatal error: Command failed for target `install' ) Phew, that was all for now. I hope, someone out there in netland can help me. Regards, Swen PS. Dont't mind my bad english ----> Swen Thuemmler * X-Betreuung * <----