From owner-freebsd-multimedia Mon Nov 30 05:45:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA27418 for freebsd-multimedia-outgoing; Mon, 30 Nov 1998 05:45:12 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from smtp1.vnet.net (smtp1.vnet.net [166.82.1.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA27413 for ; Mon, 30 Nov 1998 05:45:09 -0800 (PST) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp1.vnet.net (8.9.1a/8.9.1) with ESMTP id IAA22505; Mon, 30 Nov 1998 08:44:59 -0500 (EST) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.1/8.8.5) with ESMTP id JAA02042; Mon, 30 Nov 1998 09:25:18 -0500 (EST) Received: (from rivers@localhost) by lakes.dignus.com (8.9.1/8.6.9) id IAA03752; Mon, 30 Nov 1998 08:45:29 -0500 (EST) Date: Mon, 30 Nov 1998 08:45:29 -0500 (EST) From: Thomas David Rivers Message-Id: <199811301345.IAA03752@lakes.dignus.com> To: multimedia@FreeBSD.ORG, rhh@ct.picker.com Subject: Fxtv 0.47 build on 3.0-RELEASE. In-Reply-To: <19980601192220.A25402@ct.picker.com> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Randall, et. al. - I hope I'm not repeating other work; but I thought someone might be interested. I had to make some changes to the Makefile for fxtv to get it to build on 3.0-RELEASE; not having any other ports installed but just the packages for the various required libraries. This includes packages for gmake, tiff, jpeg, Xpm and Xaw3d. The problems were: 1) libtiff needs floor() and pow() - thus -lm has to be added to the link line. 2) If you have installed packages & not ports; you can get a successful link by adding -rpath-link /usr/local/lib after the -Lxxx arguments on the link line. If this isn't there, the jpeg shared libraries won't be found. With the following changes, I got fxtv built and running: *** Makefile.ori Mon Jun 1 02:06:40 1998 --- Makefile Mon Nov 30 08:37:18 1998 *************** *** 9,15 **** override CF_VERS = -DVERS_STR=\"0.47\" override INC = -I$(X11BASE)/include -I/usr/local/include \ -I/usr/local/include/tiff34 -I. ! override LD_INC = -L$(X11BASE)/lib -L/usr/local/lib override CFLAGS = -O2 -m486 $(INC) $(CF_VERS) ifeq ($(DEBUG),YES) override CFLAGS = -DDEBUG -g $(INC) $(CF_VERS) --- 9,15 ---- override CF_VERS = -DVERS_STR=\"0.47\" override INC = -I$(X11BASE)/include -I/usr/local/include \ -I/usr/local/include/tiff34 -I. ! override LD_INC = -L$(X11BASE)/lib -L/usr/local/lib -rpath-link /usr/local/lib override CFLAGS = -O2 -m486 $(INC) $(CF_VERS) ifeq ($(DEBUG),YES) override CFLAGS = -DDEBUG -g $(INC) $(CF_VERS) *************** *** 20,26 **** override LDFLAGS = $(LD_INC) override LIBS = -ltiff34 -lXaw3d -lXmu -lXt -lXpm -lSM -lICE \ ! -lXext -lX11 ifeq ($(HAVE_XFREE86),YES) override LIBS += -lXxf86dga -lXxf86vm endif --- 20,26 ---- override LDFLAGS = $(LD_INC) override LIBS = -ltiff34 -lXaw3d -lXmu -lXt -lXpm -lSM -lICE \ ! -lXext -lX11 -lm ifeq ($(HAVE_XFREE86),YES) override LIBS += -lXxf86dga -lXxf86vm endif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message