So, I was able to get HP11 to build natively!! There were several manual
care/feeding steps required, however.
Makefiles for Xvnc/config/imake and Xvnc/config/makedepend used whitespace
that make didn't like. So, I had to rewrite those. And because
Xvnc/Makefile blows that stuff away when you do a "make World", I removed
all the rm statements :) (My Makefile knowledge isn't very deep, so I
don't know where the Makefile.proto files were getting generated from.)
The Xvnc/programs/Makefile didn't get the value for $(XSSRCDIR). This
caused all the definitions to fail because the "for i in $(SUBDIRS) ; do\"
would be syntactically incorrect. I couldn't figure out where this value
actually got set, so I hard-coded the directory names.
I think those were the steps I used to get everything to build. I ran
"x11perf -all" and compared results of running HP11 native code and HP10.20
code copied to HP11, and saw some good performance improvements, so I think
it was worth the time.
I hope this helps others interested in compiling for HP-UX 11.
- Jeff
>So I've been playing with this, and it looks like the Makefiles that are
>getting generated in the build process aren't in a form that either the
>vendor-supplied make or gmake 3.79.1 like. The Makefile.proto that gets
>generated uses mostly generic whitespace in its formatting, whereas
>make/gmake really want to see tabs used.
>
>But, even at that, there's more stuff that HP-UX 11 doesn't seem to like
>about the Makefiles.
>
>I'd still like to hear from anyone who has successfully done this :)
>
> - Jeff
>
>Forwarded message:
>>From [EMAIL PROTECTED] Fri Mar 23 12:00:29 2001
>>From: Jeff Boerio <[EMAIL PROTECTED]>
>>Message-Id: <[EMAIL PROTECTED]>
>>Subject: building VNC on HP-UX 11.00
>>To: [EMAIL PROTECTED]
>>Date: Fri, 23 Mar 2001 11:45:16 -0800 (PST)
>>X-Mailer: ELM [version 2.5 PL3]
>>MIME-Version: 1.0
>>Content-Type: text/plain; charset=us-ascii
>>Content-Transfer-Encoding: 7bit
>>Sender: [EMAIL PROTECTED]
>>Precedence: bulk
>>Reply-To: [EMAIL PROTECTED]
>>X-Loop: [EMAIL PROTECTED]
>>
>>Has anyone ever successfully done this? I'm unable to get anywhere on
>>building Xvnc. Here's my "make World" output from the Tridia 1.4.0 source
>>(but the same failures occur w/ the AT&T source):
>>
>>Building Release 6.3 of the X Window System.
>>
>>I hope you checked the configuration parameters in ./config/cf
>>to see if you need to pass BOOTSTRAPCFLAGS.
>>
>>Fri Mar 23 11:33:14 PST 2001
>>
>> cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" clean
>> rm -f ccimake imake.o imake
>> rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
>> rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
>> make Makefile.boot
>> cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS=""
>>making imake with BOOTSTRAPCFLAGS= in config/imake
>> cc -o ccimake -O -I../../include -I../../imports/x11/include/X11 ccimake.c
>>/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (ccimake.o) was detected.
>The linked output may not run on a PA 1.x system.
>> cc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
>> cc -o imake -O -I../../include -I../../imports/x11/include/X11 imake.o
>>/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (imake.o) was detected.
>The linked output may not run on a PA 1.x system.
>> rm -f ./config/makedepend/Makefile.proto
>> ./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f
>./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
>> cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o
>bootstrap
>> cd ./config/makedepend && make -f Makefile.proto bootstrap
>>Make: Must be a separator on rules line 511. Stop.
>>*** Error exit code 1
>>
>>Stop.
>>*** Error exit code 1
>>
>>Stop.
>>
>>Here's what config/makedepend/Makefile.proto says:
>>
>> 506 PROGRAM = makedepend
>> 507
>> 508 all:: makedepend
>> 509
>> 510 makedepend: $(OBJS) $(DEPLIBS)
>> 511 -if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi
>> 512 $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EX
>>TRA_LOAD_FLAGS)
>> 513
>> 514 install:: makedepend
>> 515 @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
>> 516 else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
>> 517 $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) makedepend $(DESTDIR)$(BIND
>>IR)/makedepend
>> 518
>> 519 depend:: $(DEPEND)
>>
>>Now, Makefile.proto gets generated from imake. I can't get the
>>config/makedpend stuff to work with the Xvnc-provided imake or with the
>>vendor version of imake in /opt/imake/bin/imake.
>>
>>I've built VNC on HP-UX 10.20, but cannot get past this problem with 11.0.
>>I copied the 10.20 binaries over, and they work. But, we've got data that
>>shows that our Linux version performs signifiantly better than the 10.20
>>version running on HP11. I'd like to see if performance gets better using
>>a native HP11 version.
>>
>>I'd really appreciate some guidance from anyone who's been successful in
>>getting this to work.
>>
>> - Jeff
>>---------------------------------------------------------------------
>>To unsubscribe, send a message with the line: unsubscribe vnc-list
>>to [EMAIL PROTECTED]
>>See also: http://www.uk.research.att.com/vnc/intouch.html
>>---------------------------------------------------------------------
>>
>
>
>--
>Jeff Boerio, DPG-OR Engineering Computing, [EMAIL PROTECTED]
>Mgr, UNIX Software Applications & Support
>Desk: (503) 712-2175
>Mobile: (503) 887-0113
>---------------------------------------------------------------------
>To unsubscribe, send a message with the line: unsubscribe vnc-list
>to [EMAIL PROTECTED]
>See also: http://www.uk.research.att.com/vnc/intouch.html
>---------------------------------------------------------------------
>
--
Jeff Boerio, DPG-OR Engineering Computing, [EMAIL PROTECTED]
Mgr, UNIX Software Applications & Support
Desk: (503) 712-2175
Mobile: (503) 887-0113
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------