Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!imci5!pull-feed.internetmci.com!news.internetMCI.com!newsfeed.internetmci.com!news.kei.com!nntp.coast.net!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail From: james@jraynard.demon.co.uk (James Raynard) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Troubles compiling Mosaic port Date: 13 Jul 1996 14:08:54 -0000 Organization: A FreeBSD Box Lines: 46 Message-ID: <4s8alm$161@jraynard.demon.co.uk> References: <01bb6eca.f92ac700$38673fcb@simonh.addease.com.au> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: jraynard.demon.co.uk In article <01bb6eca.f92ac700$38673fcb@simonh.addease.com.au>, Simon Harris <simonh@interconnect.com.au> wrote: >I have been trying to build the Mosaic port and have encountered a number >of problems. I am running FreeBSD 2.1-RELEASE, and have Motif 1.2 from >XInside installed and running fine: > > 1. At first I it wouldn't compile because of 'header files not found'. >Adding C_INCLUDE_PATH=/usr/local/include to the environment fixed this. The port should do this for you. > 2. All the sources compiled ok but it wouldn't link properly. I have >attached the output of the build: > >gcc -O -DMOTIF1_2 -DPRERELEASE -I/usr/X11R6/include -I.. -I../libXmx >-I../libwww2 -I/include -DHAVE_JPEG -I/include -DHAVE_PNG -c ^^^^^^^^^^ ^^^^^^^^^^ One of these should be -I/usr/local/include, the other one is redundant (unless you really do keep your include files in /include!) >gcc -o Mosaic main.o gui.o gui-dialogs.o gui-menubar.o gui-documents.o >gui-news.o newsrc.o gui-extras.o mo-www.o mo-dtm.o hotlist.o techsupport.o >history.o annotate.o pan.o grpan.o grpan-www.o audan.o globalhist.o img.o >picread.o xpmhash.o xpmread.o gifread.o pixmaps.o medcut.o mo-hdf.o >hotfile.o child.o mailto.o readJPEG.o readPNG.o accept.o cciServer.o >cciBindings.o cciBindings2.o support.o bla.o comment.o kcms.o md5.o >proxy-dialogs.o proxy-misc.o gui-popup.o gui-ftp.o prefs.o hdf-browse.o >../libwww2/libwww.a ../libhtmlw/libhtmlw.a ../libXmx/libXmx.a >../libnut/libnut.a -L/usr/X11R6/lib -lXmu -lXt -lXext -lSM -lICE -lXpm >-lX11 -L/lib -lpng -lz -lm -L -ljpeg ^^^^^^ ^^^ One of these should be -L/usr/local/lib, the other one is... Either there's a problem with the port, or you've done something strange with your environment like unsetting PREFIX. If you can't identify the cause of the problem, please report it to the ports mailing list (but first trim the compiler output down to the minimum necessary to demonstrate the problem!) -- James Raynard, Edinburgh, Scotland james@jraynard.demon.co.uk http://www.freebsd.org/~jraynard/