Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 1999 19:09:23 +0200
From:      Thierry Herbelot <herbelot@cybercable.fr>
To:        questions@freebsd.org, jseger@FreeBSD.org, markm@freebsd.org
Subject:   How do I build KDE 1.1.1 ?
Message-ID:  <3788CFC3.E7A24B63@cybercable.fr>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------D1D8D5B74A893A473AAE6A68
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

I'm trying to compile KDE 1.1.1 from the ports on a recently updated
3.2-Stable machine.

I've cvsupped the ports tree, so I should be as close to the latest
Stable as possible.

Anyway, I'm blocked on building the jpeg library :
the patch-aa file is obsolete and targets a different makefile.cfg than
the the present one (makefile.cfg.orig   Tue Jul 25 03:07:32 1995 vs Mar
21  1998)

I've tried to modify patch-aa (see enclosed patch-ad) but I'm still
blocked : I can't compile the example programs. I've tried to compile
the library from the install script (the one included in the
distribution, using autoconf), but this script does not register the
package nor builds the shared library.

	TIA

	TfH

PS : this is for my new beast : an ABIT BP6 with two Cel-333 (which are
not yet o'clocked : I'll fetch some thermal grease tomorrow) - works
like a charm
--------------D1D8D5B74A893A473AAE6A68
Content-Type: text/plain; charset=us-ascii;
 name="patch-ad"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-ad"

*** makefile.cfg.orig	Tue Jul 25 03:07:32 1995
--- makefile.cfg	Wed Oct  4 05:50:21 1995
***************
*** 115,121 ****
  TROBJECTS= jpegtran.$(O) rdswitch.$(O) cdjpeg.$(O) transupp.$(O)
  
  
! all: @A2K_DEPS@ libjpeg.$(A) cjpeg djpeg jpegtran rdjpgcom wrjpgcom
  
  # Special compilation rules to support ansi2knr and libtool.
  .SUFFIXES: .lo .la
--- 115,121 ----
  TROBJECTS= jpegtran.$(O) rdswitch.$(O) cdjpeg.$(O) transupp.$(O)
  
  
! all: @A2K_DEPS@ libjpeg.$(A) libjpeg.so.9.0 cjpeg djpeg jpegtran rdjpgcom wrjpgcom
  
  # Special compilation rules to support ansi2knr and libtool.
  .SUFFIXES: .lo .la
***************
*** 124,129 ****
--- 124,134 ----
  @ISANSICOM@	$(RM) T$*.c $*.o
  @ISANSICOM@	$(MV) T$*.o $*.o
  
+ .SUFFIXES: .c .so .o
+ 
+ .c.so:
+ 	${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
+ 
  ansi2knr: ansi2knr.c
  	$(CC) $(CFLAGS) $(ANSI2KNRFLAGS) -o ansi2knr $(srcdir)/ansi2knr.c
  
***************
*** 132,145 ****
  	
  	# sample programs:
  
! cjpeg: $(COBJECTS) libjpeg.$(A)
! 	$(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) libjpeg.$(A) $(LDLIBS)
  
! djpeg: $(DOBJECTS) libjpeg.$(A)
! 	$(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) libjpeg.$(A) $(LDLIBS)
  
! jpegtran: $(TROBJECTS) libjpeg.$(A)
! 	$(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) libjpeg.$(A) $(LDLIBS)
  
  rdjpgcom: rdjpgcom.$(O)
  	$(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.$(O) $(LDLIBS)
--- 137,153 ----
	
  	# sample programs:
  
! libjpeg.so.9.0: $(LIBOBJECTS:S/lo$/so/g)
! 	ld -Bshareable -o libjpeg.so.9.0 $(LIBOBJECTS:S/lo$/so/g)
! 
! cjpeg: $(COBJECTS) libjpeg.so.9.0
! 	$(LN) $(LDFLAGS) -o cjpeg $(COBJECTS) \
! 	-L/usr/ports/graphics/jpeg/work/jpeg-6b -ljpeg $(LDLIBS)
  
! djpeg: $(DOBJECTS) libjpeg.so.9.0
! 	$(LN) $(LDFLAGS) -o djpeg $(DOBJECTS) \
! 	-L/usr/ports/graphics/jpeg/work/jpeg-6b -ljpeg $(LDLIBS)
  
! jpegtran: $(TROBJECTS) libjpeg.so.9.0
! 	$(LN) $(LDFLAGS) -o jpegtran $(TROBJECTS) \
! 	-L/usr/ports/graphics/jpeg/work/jpeg-6b -ljpeg $(LDLIBS)
  
  rdjpgcom: rdjpgcom.$(O)
  	$(LN) $(LDFLAGS) -o rdjpgcom rdjpgcom.$(O) $(LDLIBS)
***************
*** 164,171 ****
  	$(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(mandir)/$(manprefix)rdjpgcom.$(manext)
  	$(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(mandir)/$(manprefix)wrjpgcom.$(manext)
  
! install-lib: libjpeg.$(A) install-headers
  	$(INSTALL_LIB) libjpeg.$(A) $(libdir)/$(binprefix)libjpeg.$(A)
  
  install-headers: jconfig.h
  	$(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
--- 172,181 ----
  	$(INSTALL_DATA) $(srcdir)/rdjpgcom.1 $(mandir)/$(manprefix)rdjpgcom.$(manext)
  	$(INSTALL_DATA) $(srcdir)/wrjpgcom.1 $(mandir)/$(manprefix)wrjpgcom.$(manext)
  
! install-lib: libjpeg.$(A) libjpeg.so.7.0 install-headers
! 	$(INSTALL_LIB) libjpeg.so.7.0 $(libdir)/$(binprefix)libjpeg.so.7.0
  	$(INSTALL_LIB) libjpeg.$(A) $(libdir)/$(binprefix)libjpeg.$(A)
+ 	ranlib $(libdir)/$(binprefix)libjpeg.a
  
  install-headers: jconfig.h
  	$(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
***************
*** 202,207 ****
--- 212,266 ----
  # GNU Make likes to know which target names are not really files to be made:
  .PHONY: all install install-lib install-headers clean distribute test check
  
+ jcapimin.so: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jcapistd.so: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jccoefct.so: jccoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jccolor.so: jccolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jcdctmgr.so: jcdctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
+ jchuff.so: jchuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
+ jcinit.so: jcinit.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jcmainct.so: jcmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jcmarker.so: jcmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jcmaster.so: jcmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jcomapi.so: jcomapi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jcparam.so: jcparam.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jcphuff.so: jcphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jchuff.h
+ jcprepct.so: jcprepct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jcsample.so: jcsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jctrans.so: jctrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jdapimin.so: jdapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jdapistd.so: jdapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jdatadst.so: jdatadst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
+ jdatasrc.so: jdatasrc.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jerror.h
+ jdcoefct.so: jdcoefct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jdcolor.so: jdcolor.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jddctmgr.so: jddctmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
+ jdhuff.so: jdhuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
+ jdinput.so: jdinput.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jdmainct.so: jdmainct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jdmarker.so: jdmarker.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jdmaster.so: jdmaster.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jdmerge.so: jdmerge.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jdphuff.so: jdphuff.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdhuff.h
+ jdpostct.so: jdpostct.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jdsample.so: jdsample.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jdtrans.so: jdtrans.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jerror.so: jerror.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jversion.h jerror.h
+ jfdctflt.so: jfdctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
+ jfdctfst.so: jfdctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
+ jfdctint.so: jfdctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
+ jidctflt.so: jidctflt.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
+ jidctfst.so: jidctfst.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
+ jidctint.so: jidctint.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
+ jidctred.so: jidctred.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jdct.h
+ jquant1.so: jquant1.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jquant2.so: jquant2.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jutils.so: jutils.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
+ jmemmgr.so: jmemmgr.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
+ jmemansi.so: jmemansi.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
+ jmemname.so: jmemname.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
+ jmemnobs.so: jmemnobs.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
+ jmemdos.so: jmemdos.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h jmemsys.h
  
  jcapimin.o: jcapimin.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h
  jcapistd.o: jcapistd.c jinclude.h jconfig.h jpeglib.h jmorecfg.h jpegint.h jerror.h

--------------D1D8D5B74A893A473AAE6A68--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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