On Saturday 16 October 2004 02:11 pm, Jack wrote: > Hi Randall... thanks for the reply. Being a silver member of Mandrake > Club, I already have CD4 with the KDE 3.3 on it. Is there a way of > doing this using the install drake instead? Or failing that, is there a > way of adapting your technique to eliminate the necessity of downloading > the KDE 3.3 and getting if from my cd instead? And finally, I would most > definitely want to see a copy of your gar.conf.mk to make sure I was > doing everything right.
Unofortunately, the RPM's wouldn't afford you the ability to build it in another location. They're set up to install system wide, and will overwrite the existing RPM's with the new version (or should I say UPGRADE). You could probably do it with the source RPM's, but you're looking at modifying them much past the point of it being useful, so I would definitely recommend just letting it download the tar.bz2 files and compiling it from scratch. I've also attached the configuration file to this post (hopefully it won't be stripped out). If it is, I'll attach it and send it directly. Note that this configuration file is set up for Athlon XP and system wide install. The default settings should be OK for installing into your home directory, and you might want to uncomment out the optimization that fits your processor type. > (On a minor note, would allowing the default of setting up KDE 3.3 in my > home directory okay? Would that leave the 3.2 alone? Would I then have > the 2 KDE's showing up as desktop options upon logging in?) Sure. Setting it up in your home directory will allow you to go with either version whenever you choose. If you install 3.3.1 and decide you like it, you might then decide to install it system wide - at which point you can just remove the KDE that's in your home directory, and compile it with the proper settings for all users. > PS Sorry for the completely newbie type questions. Having formerly > consulted in the Windows (and Dos) world for years, I'm gaining an > appreciation for how my customers must have felt!!! :-) No problem at all. We all have to learn, in one way or the other. I am just glad I can help out... BTW, I've started a new thread on this (didn't realize it was tagged onto the end of another one, as I had threading off in KMail - so, I turned it back on and hopefully corrected the situation). -- Take care, Randall Hobbs Programmer - System Administrator - Chip Castle Dot Com, Inc. Web Hosting * Programming * Software http://www.chipcastle.com
#-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 # $Id: gar.conf.mk.in,v 1.3.2.2 2004/08/07 11:07:25 binner Exp $ # This file contains configuration variables that are global to # the GAR system. Users wishing to make a change on a # per-package basis should edit the category/package/Makefile, or # specify environment variables on the make command-line. # Variables that define the default *actions* (rather than just # default data) of the system will remain in bbc.gar.mk # (bbc.port.mk) # Set this variable if you have at least Qt 3.3 (including moc, uic and headers) # installed and want to skip the installation of the Qt 3.3 package. # Make sure that $QTDIR/bin, $QTDIR/lib and $QTDIR/include are reasonable. #HAVE_QT_3_3_INSTALLED = true # Setting this variable will cause the results of your builds to # be cleaned out after being installed. Uncomment only if you # desire this behavior! #BUILD_CLEAN = true # The GARCHIVEDIR is a directory containing cached files. It can be created # manually, or with 'make garchive' once you've started downloading required # files (say with 'make paranoid-checksum'. Example: GARCHIVEDIR = $(HOME)/kde3.3-sources # These are the standard directory name variables from all GNU # makefiles. They're also used by autoconf, and can be adapted # for a variety of build systems. # # TODO: set $(SYSCONFDIR) and $(LOCALSTATEDIR) to never use # /usr/etc or /usr/var prefix ?= /usr exec_prefix = $(prefix) bindir = $(exec_prefix)/bin sbindir = $(exec_prefix)/sbin libexecdir = $(exec_prefix)/libexec datadir = $(prefix)/share sysconfdir = /etc sharedstatedir = $(prefix)/share localstatedir = /var libdir = $(exec_prefix)/lib infodir = $(BUILD_PREFIX)/info lispdir = $(prefix)/share/emacs/site-lisp includedir = $(BUILD_PREFIX)/include mandir = $(BUILD_PREFIX)/man docdir = $(BUILD_PREFIX)/share/doc sourcedir = $(BUILD_PREFIX)/src # the DESTDIR is used at INSTALL TIME ONLY to determine what the # filesystem root should be. The BUILD_PREFIX is the prefix that # usurps the DESTDIR. It should be considered relative to # $(DESTDIR). Thus, if includedir were set to # $(BUILD_PREFIX)/include, it would expand out at install time # (BUT NO SOONER) to /tmp/gar/../../tmp/build. The /../../ at # the front should be harmless, as .. for / is just / itself. DESTDIR ?= BUILD_PREFIX ?= $(prefix) #BUILD_PREFIX ?= $(ROOTFROMDEST)/tmp/build ifdef HAVE_QT_3_3_INSTALLED # allow us to link to libraries we installed CPPFLAGS := -I$(DESTDIR)$(includedir) -I$(QTDIR)/include -I$(DESTDIR)/usr/X11R6/include $(CPPFLAGS) CFLAGS := -I$(DESTDIR)$(includedir) -I$(QTDIR)/include -I$(DESTDIR)/usr/X11R6/include -L$(DESTDIR)$(libdir) -L$(QTDIR)/lib -L$(DESTDIR)/usr/X11R6/lib $(CFLAGS) LDFLAGS := -L$(DESTDIR)$(libdir) -L$(DESTDIR)/usr/X11R6/lib -L$(QTDIR)/lib $(LDFLAGS) # allow us to use programs we just built PATH := $(DESTDIR)$(bindir):$(DESTDIR)$(sbindir):$(DESTDIR)$(BUILD_PREFIX)/bin:$(DESTDIR)$(BUILD_PREFIX)/sbin:$(QTDIR)/bin:$(PATH) LD_LIBRARY_PATH := $(DESTDIR)$(libdir):$(DESTDIR)$(BUILD_PREFIX)/lib:$(QTDIR)/lib:$(LD_LIBRARY_PATH) else # allow us to link to libraries we installed CPPFLAGS += -I$(DESTDIR)$(includedir) -I$(DESTDIR)/usr/X11R6/include CFLAGS += -I$(DESTDIR)$(includedir) -I$(DESTDIR)/usr/X11R6/include -L$(DESTDIR)$(libdir) -L$(DESTDIR)/usr/X11R6/lib LDFLAGS += -L$(DESTDIR)$(libdir) -L$(DESTDIR)/usr/X11R6/lib # allow us to use programs we just built PATH := $(DESTDIR)$(bindir):$(DESTDIR)$(sbindir):$(DESTDIR)$(BUILD_PREFIX)/bin:$(DESTDIR)$(BUILD_PREFIX)/sbin:$(PATH) LD_LIBRARY_PATH := $(DESTDIR)$(libdir):$(DESTDIR)$(BUILD_PREFIX)/lib:$(LD_LIBRARY_PATH) endif # This is for foo-config chaos PKG_CONFIG_PATH:=$(DESTDIR)$(libdir)/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:$(PKG_CONFIG_PATH) # Sensible testing defaults OWN_CFLAGS = -O2 -pipe # Batshit insane optimisations # Bleeding edge compiler #CC = gcc-3.2 #CXX = g++-3.2 # Intel Pentium Pro and above #OWN_CFLAGS = -falign-functions=4 -fomit-frame-pointer -mfancy-math-387 -mcpu=pentiumpro # Athlon XP/MP OWN_CFLAGS = -falign-functions=4 -fomit-frame-pointer -mfancy-math-387 -mcpu=athlon-xp # Now add own flags to CFLAGS and keep OWN_CFLAGS for qt-x11-free's Makefile. CFLAGS += $(OWN_CFLAGS) # Equalise CFLAGS and CXXFLAGS CXXFLAGS := $(CFLAGS) # If you have no following GNU tools installed change these lines TAR = tar MD5 = md5sum # make these variables available to configure and build scripts # outside of make's realm. export DESTDIR prefix exec_prefix bindir sbindir libexecdir datadir sysconfdir export sharedstatedir localstatedir libdir infodir lispdir includedir mandir export docdir sourcedir export CC CXX export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS PATH LD_LIBRARY_PATH LD_PRELOAD export PKG_CONFIG_PATH BUILD_CLEAN # prepend the local file listing FILE_SITES = file://$(FILEDIR)/ file://$(GARCHIVEDIR)/
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
