Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 1998 08:45:29 -0500 (EST)
From:      Thomas David Rivers <rivers@dignus.com>
To:        multimedia@FreeBSD.ORG, rhh@ct.picker.com
Subject:   Fxtv 0.47 build on 3.0-RELEASE.
Message-ID:  <199811301345.IAA03752@lakes.dignus.com>
In-Reply-To: <19980601192220.A25402@ct.picker.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811301345.IAA03752>