Return to BSD News archive
Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.hawaii.edu!ames!olivea!nntp-sc.barrnet.net!ratatosk.yggdrasil.com!galaxy.ucr.edu!library.ucla.edu!csulb.edu!nic-nac.CSU.net!usc!howland.reston.ans.net!news.sprintlink.net!hookup!news.mathworks.com!uunet!easix!news.uni-stuttgart.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!sun.rhrk.uni-kl.de!weber
From: weber@rhrk.uni-kl.de (Christoph Weber-Fahr [KIT])
Subject: Need porting advice
Message-ID: <1995Feb1.155641.3780@rhrk.uni-kl.de>
Organization: University of Kaiserslautern, Germany
Date: Wed, 1 Feb 1995 15:56:41 GMT
Lines: 54
Hello,
I have tried (and fortunately suceeded) to get xrn and (mo)xftp
running on FreeBSD 2.0R.
I thought about submitting them to the ports collection, but since my
experience with other Unix type OSes is limited, I am not sure which variables
to use to control the modifications (cf Jordan's remarks in the
ports/GUIDELINES file) , and if the problems are problems with
FreeBSD or 'real' application bugs. So I'd be grateful for a few suggestions.
xrn:
- has a different declaration of sys_errlist[] (essentially the same as
in stdio.h, but without the const keyword)
- needs libgnuregex. This should be said in the Imakefile, but I didn't
find a constant I could use to control this - __FreeBSD__ seems not to
be available for Imake, allthough cpp is used...
- Also I would like to insert a modified appdefaults file, which makes
it useable on a 14' Monitor
xftp:
- xftp is configured by a script which seems to be generated by some
GNU tool. This has a number of problems, the origin of which isn't
very obvious to me:
- it produces a compile option 'HAS_UNISTD_H'. This option later leads
to problems with the popen() call. If you omit this option, the
problem disappears
- it tries to determine the X11 paths with some scripting construct, which
obviously fails with the FreeBSD /bin/sh . (sh tries to dereference
environment variables in lines which should be given to other programs
via the << contruction). There is a workaround (inserting a \ before
any $ in those lines) but I'm not sure if this in turn will work with
sh on other systems...
- also it does some guessing about the x11 Veersion, and then tries to
include X11/Xaw/Mailbox.h. This isn't available with Xfree86 - should it
be ? (it works if you remove the include from the source anyway).
And if this is available with other X11R6 systems, is there an Xfree
specific compile time variable to control a modification ?
Any hints are appreciated
Regards
Christoph Weber-Fahr
--
Christoph Weber-Fahr | E-Mail: weber@rhrk.uni-kl.de
Universitaet Kaiserslautern, KIT | S-Mail: Postfach 3049
Tel. 0631/205-3391 | D-67653 Kaiserslautern
-------------------------- My personal opinion only ---------------------