Path: news.daimi.aau.dk!news.net.uni-c.dk!uninett.no!news.maxwell.syr.edu!newsfeed1.swip.net!swipnet!news-fra.maz.net!news-fra1.dfn.de!Uni-Dortmund.DE!news From: Rainer Goellner Newsgroups: comp.lang.beta Subject: Re: Beta On FreeBSD Date: Fri, 10 Jul 1998 09:01:16 +0200 Organization: Institut für Arbeitsphysiologie an der Universität Dortmund Lines: 54 Message-ID: <35A5BC3C.F24C5C35@arb-phys.uni-dortmund.de> References: <35A52CF5.771E939A@loop.com> Reply-To: goellner@arb-phys.uni-dortmund.de NNTP-Posting-Host: kassandra.arb-phys.uni-dortmund.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) Xref: news.daimi.aau.dk comp.lang.beta:11650 Elan wrote: > > Does anyone have experience with running / trying to run the Mjolner > Beta environment (4.1) under FreeBSD? > Or a good guess? > > TIA > > Elan Yes, I tried it... ....but I got stuck on the Motif/lesstif dependencies. Anyway, here are some hints, as far as I can remember: - The version that comes next to FreeBSD is of course Linux, so you need the ports with the Linux development environment. - Then unpack BETA, as described in the README. - What you really need is the command brandelf to mark everything that wants to use shared libraries as being Linux. That is especially the case for every BETA programm you translate. - So the next thing to do is: Follow the path from calling the beta script, until you find the call for the compiler itself. There is lots of error handling stuff around it. Although I don't remember the line, I do remember that it is easy to find. - Insert something like 'brandelf -t Linux @?(the target variable from the line above). - Some other error messages are obvious, most of them being the wrong search path or so. You can fix them by setting the right environment variables, including the linker options. See the Linux section of the FAQ. - I couldn't solve the next problem: The linker doesn't find several symbols. If you link the missing libraries, they are inserted in the wrong place of the command line. As far as I could see, that is hard coded in the binary part of BETA. It helps to force those symbols to be undefined with the -u option in the linker environment variable and to repeat some common libraries. So far, you can translate (at least simple) programs, use all of the BETA tools and so on. But if you want to link a program that uses the GUI, you need Motif or at least lesstif in a Linux linkable version - not the FreeBSD port. If you get lesstif installed, please tell me. I didn't wanna bother with that Linuxisms any more, so I gave up at this point. Hope that helped to get a full port started ;-). Let us know, if you find additional solutions. -- Rainer G"ollner Institut f"ur Arbeitsphysiologie Brunnenstr. 22 an der Universit"at Dortmund 44145 Dortmund Ardeystr. 67 44139 Dortmund goellner@arb-phys.uni-dortmund.de