* Success with KDE2b4 @ 2000-08-28 22:11 Dave Gilbert 2000-08-29 0:10 ` Peter Petrakis 0 siblings, 1 reply; 21+ messages in thread From: Dave Gilbert @ 2000-08-28 22:11 UTC (permalink / raw) To: axp-list Hi, I've spent the day messing about with KDE2-beta4 and had quite a bit of success. I should say I actually run Gnome but pick and choose interesting KDE apps. In particular I've been messing about with Konqueror; KDEs web browser; and I'm starting to think that it is getting stable enough to be more stable than Netscape on Alpha (by whichever means the other parallel argument decides exists.....). I built all the Qt/KDE stuff from source (there is a kde-rebuild script somewhere on their servers - can't remember where - which takes a lot of the pain out of it). Konqueror manages to render most of the pages I've given to it; including one which repeatedly killed Netscape. Having said that I found one which repeatedly killed Konqueror - but the KDE guys seem to be nice enough about it. It will manage https (get yourself a recent version of OpenSSL installed first) and will kind of manage Java. For the Java I installed a Kaffe pre-built RPM I found on rpmfind.net. It starts applets up but they open in there own window rather than in the browser - but I guess that means it is getting there. Oh, Kpresenter seems to SIGFPE in this version - but I haven't tried -mieee'ing it yet. Dave -- ---------------- Have a happy GNU millennium! ---------------------- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / ____________________________|___ http://www.treblig.org |________/ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Success with KDE2b4 2000-08-28 22:11 Success with KDE2b4 Dave Gilbert @ 2000-08-29 0:10 ` Peter Petrakis 2000-08-28 23:45 ` Dave Gilbert ` (2 more replies) 0 siblings, 3 replies; 21+ messages in thread From: Peter Petrakis @ 2000-08-29 0:10 UTC (permalink / raw) To: axp-list Hmmm. Be nice to try this with the GNUPro compilers. I just finished building it on my LX. No rpms yet, packaging this is a PIA. I can imagine not alot of people have downloaded it noting it's hefty size. Dave, Could you please send me that kde building script you found? Thanks. Peter Dave Gilbert wrote: > > Hi, > I've spent the day messing about with KDE2-beta4 and had quite a bit of > success. I should say I actually run Gnome but pick and choose interesting > KDE apps. > > In particular I've been messing about with Konqueror; KDEs web browser; > and I'm starting to think that it is getting stable enough to be more > stable than Netscape on Alpha (by whichever means the other parallel > argument decides exists.....). > > I built all the Qt/KDE stuff from source (there is a kde-rebuild script > somewhere on their servers - can't remember where - which takes a lot of > the pain out of it). > > Konqueror manages to render most of the pages I've given to it; > including one which repeatedly killed Netscape. Having said that I found > one which repeatedly killed Konqueror - but the KDE guys seem to be nice > enough about it. > > It will manage https (get yourself a recent version of OpenSSL installed > first) and will kind of manage Java. For the Java I installed a Kaffe > pre-built RPM I found on rpmfind.net. It starts applets up but they open > in there own window rather than in the browser - but I guess that means > it is getting there. > > Oh, Kpresenter seems to SIGFPE in this version - but I haven't tried > -mieee'ing it yet. > > Dave > > -- > ---------------- Have a happy GNU millennium! ---------------------- > / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ > \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / > ____________________________|___ http://www.treblig.org |________/ > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list -- www.alphalinux.org Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org "Oh my God! They killed Xena! You bastards!!" "<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..." ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Success with KDE2b4 2000-08-29 0:10 ` Peter Petrakis @ 2000-08-28 23:45 ` Dave Gilbert 2000-08-29 14:23 ` Peter Petrakis 2000-08-29 5:58 ` Thomas Leitner 2000-08-29 14:59 ` Mark Arrasmith 2 siblings, 1 reply; 21+ messages in thread From: Dave Gilbert @ 2000-08-28 23:45 UTC (permalink / raw) To: axp-list [-- Attachment #1: Type: TEXT/PLAIN, Size: 1088 bytes --] On Mon, 28 Aug 2000, Peter Petrakis wrote: > Hmmm. Be nice to try this with the GNUPro compilers. I just finished > building it on my LX. When you say GNUPro do you mean the ones Cygnus sell? In what way are they different? Just latest pre release stuff? > No rpms yet, packaging this is a PIA. I can > imagine not alot of people have downloaded it noting it's hefty size. Due to the wonders of a flat fee ISP wonders can now be done in the UK :-) > Dave, Could you please send me that kde building script you found? > Thanks. Sure, it is attached. Build Qt first then run it in the directory with the opened out tars; you'll need to create a link from kdeblah-1.93 to kdeblah; nothing that a 3 line script can't fix. I'd also suggest adding a -mieee and Kpresenter might work again. Dave -- ---------------- Have a happy GNU millennium! ---------------------- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / ____________________________|___ http://www.treblig.org |________/ [-- Attachment #2: KDE rebuild script - somewhere off the KDE site I've forgotten --] [-- Type: TEXT/PLAIN, Size: 12159 bytes --] #!/bin/bash ################################################################################ # Compiles a KDE2 snapshot. # # 2000 by Frerich Raabe <raabe@kde.org> # ################################################################################ # Where are your KDE sources? # SRCDIR=/discs/c7/kdeb4 # Where shall I put the binaries? # KDE2DIR=/discs/deskapps/built/kde # Where is your Qt 2.2.0? # QTDIR=/discs/c7/kde-built/qt-2.2.0-beta2 # If you would like logfiles of the compilation process, specify a directory # here in which the logfiles will be saved. If you want to disable logfile # generation, leave this blank. # LOGDIR=$SRCDIR/log # It is a good idea to remove the configuration directories of the previous # KDE desktop by deleting ~/.kderc and ~/.kde. If you would like to have this # script do this automatically for you, add the home directories of the users # whose KDE configuration should be resetted to this space seperated list. # HOMEDIR="" # Do you want the logfiles to be compressed? Set this variable to "yes" to # make the script compress the logfiles using bzip2 (using gzip as a # fallback is bzip2 cannot be found) and thereby save some diskspace COMPRESSLOGS=yes # Add modules you want to get compiled to this space-seperated list. Please # note that the modules kde-qt-addon, kdesuppor, kdelibs, and kdebase # (if you want a KDE2 desktop and not just develope applications for it) # must be compiled in exactly that order. Any other modules are optional. # MODULES="kdesupport kdelibs kdebase kdegraphics kdenetwork \ kdegames kdeadmin kdetoys kdeutils kdepim kdemultimedia koffice" # Do you want a clean install? This is recommended but please note that # you cannot use your previous KDE2 desktop while the compilation is # running. Set this to "no" to install the new snapshot over the previous # one, otherwise set it to "yes". # INSTALLFROMSCRATCH=no # Do you plan to use this box otherwise while compiling? If so, you'd # probably set this variable to "yes". If this is set to "no", the # compilation process will try to eat up all the ressources, which speeds up # the overall progress but makes it a PITA to work on this box. ;) # COMPILENICE=yes # Set this variable to "yes" to actiave certain cheap tweaks to speed up the # compilation process. Those tweaks mainly consist of lowering the # optimization of the resulting binary code. # TWEAKCOMPILE=yes ## Don't modify anything below this line! ###################################### # These strings are defined as variables to make the output look more # consistent. # STR_OKAY="done!" STR_ERROR="failed!" # The variables whose name is prefixed with ERR_ hold the error codes which # are returned by the script and depend on the reason for aborting the # execution. # # No error has been noticed, everything seems to be fine. # ERR_NO_ERROR=0 # Could not change into a directory of a module - wrong owner/access # settings? # ERR_CHANGE_INTO_MOD_DIR=1 # Could not find the file 'Makefile.in' for a module, mostly happens if # 'make -f Makefile.cvs' hasn't been executed for a module. # ERR_NO_MAKEFILE_IN=2 # The 'configure' command failed for a module because the system doesn't # support certain features - I hope you activated logfile generation... ;) # ERR_CONFIGURE_FAIL=3 # The compilation of a module failed - if the module is defined in # $CRITICAL_MODULES (see below) the execution is aborted, otherwise the script # will continue with the next module. # ERR_COMPILE_FAIL=4 # The installation of a module failed - this mostly happens if there's not # enough free disk space on the partition which $KDE2DIR is mounted to. # ERR_INSTALL_FAIL=5 # The $SRCDIR variable wasn't set or contains a non-existant directory. # ERR_INV_SRCDIR=6 # The $QTDIR variable wasn't set, points to a non-existant directory or # doesn't contain a bin/, lib/, or include/ subdirectory. # ERR_INV_QTDIR=7 # Certain modules depend on others - those "base" modules which are required # by others to compile and/or run should be listed here to ensure that the # script is aborted. # CRITICAL_MODULES="kde-qt-addon kdesupport kdelibs kdebase" # Internal variable, do not change. # DATE=`date +%Y%m%d` # This function computes the time which was needed for a certain task. # compute_time() { DURATION=$[$(date +%s)-$STARTTIME] HOURS=$[$DURATION / 3600] MINUTES=$[$[$DURATION % 3600] / 60] SECONDS=$[$DURATION % 60] } # This function installs a compiled CVS module. # install_module() { echo -n " Installing..." test $LOGDIR && STARTTIME=`date +%s` if eval "$MAKE_INSTALL"; then if test $LOGDIR; then compute_time echo "Time needed for installation of module $MODULE: $HOURS:$MINUTES:$SECONDS" >> $MAKE_INSTALL_LOG fi test $CMD_COMPRESS && $CMD_COMPRESS $MAKE_INSTALL_LOG echo -e $STR_OKAY echo "Module $MODULE successfully installed in $KDE2DIR!" if test "$MODULE" = kdebase -a -n $HOMEDIR; then for HOME in $HOMEDIR; do test -d $HOME/.kde -a -w $HOME/.kde && rm -rf $HOME/.kde test -e $HOME/.kderc -a -w $HOME/.kderc && rm -f $HOME/.kderc done fi else echo -e $STR_ERROR echo $CRITICAL_MODULES | grep -q $MODULE && exit $ERR_INSTALL_FAIL fi } # Various checks to ensure that valid data has been specified, creates the # directory for the logfile in case it doesn't exist already. # if test -n "$LOGDIR" -a ! -d "$LOGDIR"; then if ! mkdir -p "$LOGDIR" > /dev/null 2>&1; then echo "WARNING: Could not create logfile-directory." echo "WARNING: Logfile generation deactivated." LOGDIR="" fi else if test -n "$LOGDIR" -a ! -w "$LOGDIR"; then echo "WARNING: Could not obtain write access to specified logfile-directory." echo "WARNING: Logfile generation deactivated." LOGDIR="" fi fi test $LOGDIR && STR_ERROR="$STR_ERROR\x00a\x00d\x020\x020Check the logfile in $LOGDIR for further info." if test ! -d "$SRCDIR"; then echo "ERROR: Invalid source directory specified!"; exit $ERR_INV_SRCDIR fi if test ! -d "$QTDIR" -o ! -d "$QTDIR/lib" -o ! -d "$QTDIR/bin" -o ! -d "$QTDIR/include"; then echo "ERROR: Invalid Qt directory specified!"; exit $ERR_INV_QTDIR fi if test -x /usr/bin/bzip2; then CMD_COMPRESS="/usr/bin/bzip2" else if test -x /usr/bin/gzip; then CMD_COMPRESS="/usr/bin/gzip" else echo "WARNING: Neither bzip2 nor gzip was found, disabling compression of logfiles." CMD_COMPRESS="" fi fi # Clean the installation directory if selected. # if test "$INSTALLFROMSCRATCH" = yes; then if test ! -w $KDE2DIR; then echo "Enter the root password to clean the installation directory." echo "WARNING: All files and directories in $KDE2DIR will be deleted!" echo -n "" su -c"rm -rf $KDE2DIR/*" else rm -rf $KDE2DIR/* fi fi # Optionally activate cheap tweaks. # if test "$TWEAKCOMPILE" = yes; then CFLAGS="-O0" CXXFLAGS="-O0" export CFLAGS CXXFLAGS fi # Actually start doing something. # for MODULE in $MODULES; do if ! cd $SRCDIR/$MODULE; then if echo $CRITICAL_MODULES | grep -q $MODULE; then echo "ERROR: Could not change into directory $SRCDIR/$MODULE!" exit $ERR_CHANGE_INTO_MOD_DIR else echo "WARNING: Could not change into directory $SRCDIR/$MODULE." echo "WARNING: Skipping module $MODULE." fi else cd $SRCDIR/$MODULE # Check whether 'make -f Makefile.cvs' has been called. # if test ! -e Makefile.in; then if echo $CRITICAL_MODULES | grep -q $MODULE; then echo "ERROR: Please execute 'make -f Makefile.cvs' first for this module!" exit $ERR_NO_MAKEFILE_IN else echo "WARNING: 'make -f Makefile.cvs' seems not to be executed for this" echo "WARNING: module, skipping compilation." fi else echo "Building module: $MODULE" # Configure the module. # echo -n " Configuring..." CONFIGURE="configure --enable-debug --enable-profile --prefix=$KDE2DIR --with-qt-libs=$QTDIR" test "$NICECOMPILE" = yes && CONFIGURE="nice $CONFIGURE" CONFIGURE_LOG="$LOGDIR/$MODULE-configure-$DATE" if test $LOGDIR; then CONFIGURE="$CONFIGURE > $CONFIGURE_LOG 2>&1" STARTTIME=`date +%s` fi if eval "$CONFIGURE"; then if test $LOGDIR; then compute_time echo "Time needed for configuration of module $MODULE: $HOURS:$MINUTES:$SECONDS" >> $CONFIGURE_LOG fi test $CMD_COMPRESS && $CMD_COMPRESS $CONFIGURE_LOG echo -e $STR_OKAY # Compile the module. # echo -n " Compiling..." MAKE="make" MAKE_LOG="$LOGDIR/$MODULE-build-$DATE" echo $CRITICAL_MODULES | grep -q $MODULE || MAKE="$MAKE -k" if test $LOGDIR; then MAKE="$MAKE > $MAKE_LOG 2>&1" STARTTIME=`date +%s` fi test "$NICECOMPILE" = yes && MAKE="nice $MAKE" if eval "$MAKE"; then if test $LOGDIR; then compute_time echo "Time needed for compilation of module $MODULE: $HOURS:$MINUTES:$SECONDS" >> $MAKE_LOG fi test $CMD_COMPRESS && $CMD_COMPRESS $MAKE_LOG echo -e $STR_OKAY # Install the module. # MAKE_INSTALL="make install" MAKE_INSTALL_LOG="$LOGDIR/$MODULE-install-$DATE" test $LOGDIR && MAKE_INSTALL="$MAKE_INSTALL > $MAKE_INSTALL_LOG 2>&1" test "$NICECOMPILE" = yes && MAKE_INSTALL="nice $MAKE_INSTALL" if test ! -w $KDE2DIR; then echo " Please enter the root password to install module $MODULE." echo -n " " su -c"install_module" else install_module fi else echo -e $STR_ERROR echo $CRITICAL_MODULES | grep -q $MODULE && exit $ERR_COMPILE_FAIL fi else echo -e $STR_ERROR echo $CRITICAL_MODULES | grep -q $MODULE && exit $ERR_CONFIGURE_FAIL fi fi fi done exit $ERR_NO_ERROR =head1 NAME kde-rebuild - Recompiles a tree of KDE CVS modules =head1 SYNOPSIS kde-rebuild =head1 DESCRIPTIONS kde-rebuild is intended to recompile a tree of KDE source modules. Those modules have to be saved in a common directory, e.g. /kde-cvs/kdelibs, /kde-cvs/kdebase, /kde-cvs/kdegraphics etc. The script will take care of compiling them in the correct order, checks for dependencies and solves them. Before first invokation, the variables at the top of the file should be filled with appropriate values to reflect the local setup. Please note that KDE sources which have been downloaded via cvs, anoncvs or cvsup have to be prepared in a special matter (e.g. execute 'make -f Makefile.cvs' and, for cvsup, link kde-common/admin to ./admin) to be compile ready. Sources which have been aquired from tarballs or source RPMs should be compile-ready. Refer to the according documentation at http://www.kde.org/cvsup.html for detailed information. =head1 RETURN VALUE The following error codes are returned by the script. 0 - No error seems to have occured 1 - The script could not change into the directory of a module 2 - The script could not open the file 'Makefile.in' of a module 3 - The configuration of a module failed 4 - The compilation of a module failed 5 - The installation of a module failed 6 - An invalid source directory was specified 7 - An invalid Qt directory was specified =head1 EXAMPLES cd /home/devel/src/scripts; kde-rebuild =head1 BUGS Lots, mostly that the script wasn't written with portability in mind and therefore won't run very nice on platforms other than Linux. =head1 AUTHOR Frerich Raabe <raabe@kde.org> =cut ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Success with KDE2b4 2000-08-28 23:45 ` Dave Gilbert @ 2000-08-29 14:23 ` Peter Petrakis 0 siblings, 0 replies; 21+ messages in thread From: Peter Petrakis @ 2000-08-29 14:23 UTC (permalink / raw) To: axp-list > When you say GNUPro do you mean the ones Cygnus sell? In what way are they > different? Just latest pre release stuff? I mean the free one just released by API. It has basic optimizations done to it and some other stuff that will improve performance. I also noticed that it could compile a c++ program that I could never compile before, OmniORB. Now that just segfaults randomly :-). > > No rpms yet, packaging this is a PIA. I can > > imagine not alot of people have downloaded it noting it's hefty size. > > Due to the wonders of a flat fee ISP wonders can now be done in the UK :-) Excellent :-) > > Dave, Could you please send me that kde building script you found? > > Thanks. > > Sure, it is attached. Build Qt first then run it in the directory with > the opened out tars; you'll need to create a link from kdeblah-1.93 to > kdeblah; nothing that a 3 line script can't fix. I'd also suggest adding a > -mieee and Kpresenter might work again. Cool, Thanks. Peter -- www.alphalinux.org Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org "Oh my God! They killed Xena! You bastards!!" "<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..." ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Success with KDE2b4 2000-08-29 0:10 ` Peter Petrakis 2000-08-28 23:45 ` Dave Gilbert @ 2000-08-29 5:58 ` Thomas Leitner 2000-08-29 9:28 ` Dave Gilbert 2000-08-29 14:59 ` Mark Arrasmith 2 siblings, 1 reply; 21+ messages in thread From: Thomas Leitner @ 2000-08-29 5:58 UTC (permalink / raw) To: axp-list; +Cc: gro.gilbert, ppetrakis On Mon, 28 Aug 2000, Peter Petrakis wrote: > Hmmm. Be nice to try this with the GNUPro compilers. I just finished > building it on my LX. No rpms yet, packaging this is a PIA. I can > imagine not alot of people have downloaded it noting it's hefty size. > Dave, Could you please send me that kde building script you found? I'm porting KDE2 to Tru64 Unix with egcs 1.1.2 and experience strange problems with icons (everything else works just fine). I've put a screenshot at: http://finwds01.tu-graz.ac.at/tmp/tru64_icon_problem.gif As you can see, there are two garbled icons. The one in the "Preview" box in the Control Panel as well as the small icon below in the Kicker window where it says "KDE Control Ce..." Could you check that this works for you? If the problem is present in Linux/AXP as well, it's a general 64-bit issue. Otherwise it would be a Tru64 specific issue. Thanks // Tom -- -------------------------------------------------------------------------- Dr. Tom Leitner Dept. of Communications Graz University of Technology, e-mail : tom@radar.tu-graz.ac.at Inffeldgasse 12 Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe Fax : +43-316-463-697 Home page : http://wiis.tu-graz.ac.at/people/tom.html PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net -------------------------------------------------------------------------- Before we have the paperless office, we have the paperless toilet! ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Success with KDE2b4 2000-08-29 5:58 ` Thomas Leitner @ 2000-08-29 9:28 ` Dave Gilbert 2000-08-30 5:37 ` Thomas Leitner 0 siblings, 1 reply; 21+ messages in thread From: Dave Gilbert @ 2000-08-29 9:28 UTC (permalink / raw) To: Thomas Leitner; +Cc: axp-list, gro.gilbert, ppetrakis On Tue, 29 Aug 2000, Thomas Leitner wrote: > I'm porting KDE2 to Tru64 Unix with egcs 1.1.2 and experience strange > problems with icons (everything else works just fine). I've put a > screenshot at: <Crunch> > Could you check that this works for you? If the problem is present in > Linux/AXP as well, it's a general 64-bit issue. Otherwise it would be > a Tru64 specific issue. Those examples work for me; although you could have a combination of colour depth as well (I'm in 24 bit colour (32bpp/8 bit waste). While those work for me I have seen similar problems; I had a web page which one of the icons was corrupt, and when running kfouleggs (a rather addictive game) I find that the eggs have strange box like additions where I guess it should be masked. Dave -- ---------------- Have a happy GNU millennium! ---------------------- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / ____________________________|___ http://www.treblig.org |________/ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Success with KDE2b4 2000-08-29 9:28 ` Dave Gilbert @ 2000-08-30 5:37 ` Thomas Leitner 2000-08-30 15:15 ` Michal Jaegermann 0 siblings, 1 reply; 21+ messages in thread From: Thomas Leitner @ 2000-08-30 5:37 UTC (permalink / raw) To: Dave Gilbert; +Cc: axp-list, gro.gilbert, ppetrakis On Tue, 29 Aug 2000, Dave Gilbert wrote: > > Could you check that this works for you? If the problem is present in > > Linux/AXP as well, it's a general 64-bit issue. Otherwise it would be > > a Tru64 specific issue. > > Those examples work for me; although you could have a combination of > colour depth as well (I'm in 24 bit colour (32bpp/8 bit waste). > > While those work for me I have seen similar problems; I had a web page > which one of the icons was corrupt, and when running kfouleggs (a rather > addictive game) I find that the eggs have strange box like additions where > I guess it should be masked. You're right: I was running 16bpp while the problems occured. For testing I've switched to 24bpp and the problems disappeared and all icons appeared normally. With 8bpp PseudoColor I get even crashes at the places some of these icons should show up. So its apparently related to the color depth on alphas (it obviously works on Intel as there are no reports from Intel people). I've reported this to the responsible people at KDE/QT development. Thanks // Tom -- -------------------------------------------------------------------------- Dr. Tom Leitner Dept. of Communications Graz University of Technology, e-mail : tom@radar.tu-graz.ac.at Inffeldgasse 12 Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe Fax : +43-316-463-697 Home page : http://wiis.tu-graz.ac.at/people/tom.html PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net -------------------------------------------------------------------------- Before we have the paperless office, we have the paperless toilet! ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Success with KDE2b4 2000-08-30 5:37 ` Thomas Leitner @ 2000-08-30 15:15 ` Michal Jaegermann 2000-08-30 17:10 ` Dave Gilbert 0 siblings, 1 reply; 21+ messages in thread From: Michal Jaegermann @ 2000-08-30 15:15 UTC (permalink / raw) To: axp-list Thomas Leitner wrote: > > So its apparently related to the color depth > on alphas (it obviously works on Intel as there are no reports from Intel > people). Well, if you want to know one of beta versions which I happen to try on an Athlon board was so plagued with races in threads that I never managed to start it up. The furthest I ever got was a messed up tool bar and a popping up a menu on a left hand side. None of menu entries was doing anything I could see. I got at least some KDE applications started from a GNOME desktop; from other I got nice crash backtraces. Your problems are truly insignificant in comparison. Michal ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Success with KDE2b4 2000-08-30 15:15 ` Michal Jaegermann @ 2000-08-30 17:10 ` Dave Gilbert 2000-08-30 19:21 ` Peter Petrakis 0 siblings, 1 reply; 21+ messages in thread From: Dave Gilbert @ 2000-08-30 17:10 UTC (permalink / raw) To: axp-list On Wed, 30 Aug 2000, Michal Jaegermann wrote: > Well, if you want to know one of beta versions which I happen to try on > an Athlon board was so plagued with races in threads that I never > managed to start it up. The furthest I ever got was a messed up tool > bar and a popping up a menu on a left hand side. None of menu entries > was doing anything I could see. I got at least some KDE applications > started from a GNOME desktop; from other I got nice crash backtraces. > Your problems are truly insignificant in comparison. KDE is getting a hell of a lot more stable; b4 is holding out fine on my machine while b3 didn't build and b2 was flakier than a flaky thing. One thing which might be helping on Alpha is that Qt and some other stuff have decided they don't know how to thread so they aren't bothering! Dave -- ---------------- Have a happy GNU millennium! ---------------------- / Dr. David Alan Gilbert | Running GNU/Linux on | Happy \ \ gro.gilbert @ treblig.org | Alpha, x86, ARM and SPARC | In Hex / ____________________________|___ http://www.treblig.org |________/ ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Success with KDE2b4 2000-08-30 17:10 ` Dave Gilbert @ 2000-08-30 19:21 ` Peter Petrakis 0 siblings, 0 replies; 21+ messages in thread From: Peter Petrakis @ 2000-08-30 19:21 UTC (permalink / raw) To: axp-list > One thing which might be helping on Alpha is that Qt and some other stuff > have decided they don't know how to thread so they aren't bothering! > Now correct me if im wrong but last i heard the c++ libraries (or was it libc) where not thread safe. I recall this being part of my problem building omniorb, or so it's developers told me. Peter -- www.alphalinux.org Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org "Oh my God! They killed Xena! You bastards!!" "<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..." ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Success with KDE2b4 2000-08-29 0:10 ` Peter Petrakis 2000-08-28 23:45 ` Dave Gilbert 2000-08-29 5:58 ` Thomas Leitner @ 2000-08-29 14:59 ` Mark Arrasmith 2000-08-29 16:29 ` Peter Petrakis 2 siblings, 1 reply; 21+ messages in thread From: Mark Arrasmith @ 2000-08-29 14:59 UTC (permalink / raw) To: axp-list On Mon, 28 Aug 2000, you wrote: > Hmmm. Be nice to try this with the GNUPro compilers. I just finished > building it on my LX. No rpms yet, packaging this is a PIA. I can > imagine not alot of people have downloaded it noting it's hefty size. You can pick up src.rpm's from http://people.redhat.com/bero/ After building they are set to install into /opt/kde2 so I'm able to run the old 1.1.2 kde or the beta. I'm still building now (koffice and kdevelop to go) but most of the stuff looks nice. I need to try the new kdepim (it is supposed to be an outlook express replacement). Amazing how long this is taking to compile. If you have an old 166 21064 you are probably looking at 25+ hours. - mark arrasmith ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Success with KDE2b4 2000-08-29 14:59 ` Mark Arrasmith @ 2000-08-29 16:29 ` Peter Petrakis 2000-08-29 16:01 ` RPM short circuit was " Mark Arrasmith 0 siblings, 1 reply; 21+ messages in thread From: Peter Petrakis @ 2000-08-29 16:29 UTC (permalink / raw) To: axp-list > You can pick up src.rpm's from http://people.redhat.com/bero/ Sweeeeet! thanks. > After building they are set to install into /opt/kde2 so I'm able to run the > old 1.1.2 kde or the beta. I'm still building now (koffice and kdevelop to go) > but most of the stuff looks nice. I need to try the new kdepim (it is > supposed to be an outlook express replacement). > > Amazing how long this is taking to compile. If you have an old 166 21064 you > are probably looking at 25+ hours. Hmmmm. I have a UP2000 here at my disposal. I'll see what I can do. Peter -- www.alphalinux.org Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org "Oh my God! They killed Xena! You bastards!!" "<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..." ^ permalink raw reply [flat|nested] 21+ messages in thread
* RPM short circuit was Re: Success with KDE2b4 2000-08-29 16:29 ` Peter Petrakis @ 2000-08-29 16:01 ` Mark Arrasmith 2000-08-29 17:50 ` Peter Petrakis ` (2 more replies) 0 siblings, 3 replies; 21+ messages in thread From: Mark Arrasmith @ 2000-08-29 16:01 UTC (permalink / raw) To: axp-list On Tue, 29 Aug 2000, Peter Petrakis wrote: > > Amazing how long this is taking to compile. If you have an old 166 21064 you > > are probably looking at 25+ hours. > > Hmmmm. I have a UP2000 here at my disposal. I'll see what I can do. Some people get all the cool machines . . . On building RPMs, every now and then the compiler will die during a build. I can always rpm -bc --short-circuit to finish the compile, but there is no short-circuit of rpm -bb. If the package is already compiled, is there any way to jump past the prep, compile, and install stages straight to building a binary? - mark arrasmith ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: RPM short circuit was Re: Success with KDE2b4 2000-08-29 16:01 ` RPM short circuit was " Mark Arrasmith @ 2000-08-29 17:50 ` Peter Petrakis 2000-08-29 17:29 ` Michal Jaegermann 2000-08-29 18:34 ` RPM short circuit Mark Arrasmith 2000-08-30 5:17 ` RPM short circuit was Re: Success with KDE2b4 SL Baur 2 siblings, 1 reply; 21+ messages in thread From: Peter Petrakis @ 2000-08-29 17:50 UTC (permalink / raw) To: axp-list > > Hmmmm. I have a UP2000 here at my disposal. I'll see what I can do. > > Some people get all the cool machines . . . Heh, I wish it was mine. I'm at work. Honestly what I'd love to have at home is a UP1100. > On building RPMs, every now and then the compiler will die during a build. I > can always rpm -bc --short-circuit to finish the compile, but there is no > short-circuit of rpm -bb. If the package is already compiled, is there any way > to jump past the prep, compile, and install stages straight to building a > binary? That's a good question. After looking at the man page it appears that there no way to get around that. I would suck having to rebuild all those object files. Might we benfit by hacking the rpm source? :-) Peter -- www.alphalinux.org Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org "Oh my God! They killed Xena! You bastards!!" "<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..." ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: RPM short circuit was Re: Success with KDE2b4 2000-08-29 17:50 ` Peter Petrakis @ 2000-08-29 17:29 ` Michal Jaegermann 2000-08-29 18:48 ` Mark Arrasmith 0 siblings, 1 reply; 21+ messages in thread From: Michal Jaegermann @ 2000-08-29 17:29 UTC (permalink / raw) To: axp-list Peter Petrakis wrote: > > If the package is already compiled, is there any way > > to jump past the prep, compile, and install stages straight to building a > > binary? > > > That's a good question. After looking at the man page it appears that > there no way > to get around that. Absolutely on purpose; in order to prevent sneaking in a weird stuff and manual interventions when making final archives. > I would suck having to rebuild all those object > files. Might > we benfit by hacking the rpm source? :-) It is possible to create and use another spec file which will be doing mostly nothing until an installation phase. Like one for Netscape from DU. :-) Techically this will be a different rpm archive then the one you tried to build in the first place. Either redefine prep to do mostly nothing or prepare "sources" from your current compilation tree. Do not unpack on the top what you compiled or you will be starting from scratch again. The first action in a normal prep is 'rm -rf ...'. Michal ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: RPM short circuit was Re: Success with KDE2b4 2000-08-29 17:29 ` Michal Jaegermann @ 2000-08-29 18:48 ` Mark Arrasmith 2000-08-29 20:42 ` Michal Jaegermann 2000-08-29 21:30 ` Peter Petrakis 0 siblings, 2 replies; 21+ messages in thread From: Mark Arrasmith @ 2000-08-29 18:48 UTC (permalink / raw) To: axp-list On Tue, 29 Aug 2000, Michal Jaegermann wrote: > > That's a good question. After looking at the man page it appears that > > there no way > > to get around that. > > Absolutely on purpose; in order to prevent sneaking in a weird stuff > and manual interventions when making final archives. Yeah, but sneaking in weird stuff is so much fun. I've had to change the source of several different packages to get them to compile. I've always ended up re-tar.gz'ing (<- now that is an interesting word) them and having to start everything over from scratch. It would be nice to selectively move from compiling, to installing, and finally to wrapping a binary package one step at a time. > It is possible to create and use another spec file which will be doing > mostly nothing until an installation phase. Like one for Netscape from > DU. :-) Techically this will be a different rpm archive then the one you > tried to build in the first place. Either redefine prep to do mostly > nothing or prepare "sources" from your current compilation tree. > Do not unpack on the top what you compiled or you will be starting > from scratch again. The first action in a normal prep is 'rm -rf ...'. What is with that 'rm -rf' thing anyway? I can understand the need to delete old binary trees, but why not do the same as the removing of the /var/tmp build roots. Leave it as a command after the prep. Basically without that you could simply comment out the 'rm -rf' and not have to rebuild all the object files. Also, can I changed the default behavior of the %prep macro? - mark arrasmith ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: RPM short circuit was Re: Success with KDE2b4 2000-08-29 18:48 ` Mark Arrasmith @ 2000-08-29 20:42 ` Michal Jaegermann 2000-08-29 21:30 ` Peter Petrakis 1 sibling, 0 replies; 21+ messages in thread From: Michal Jaegermann @ 2000-08-29 20:42 UTC (permalink / raw) To: axp-list Mark Arrasmith wrote: > > On Tue, 29 Aug 2000, Michal Jaegermann wrote: > > > That's a good question. After looking at the man page it appears that > > > there no way > > > to get around that. > > > > Absolutely on purpose; in order to prevent sneaking in a weird stuff > > and manual interventions when making final archives. > > Yeah, but sneaking in weird stuff is so much fun. I've had to change the > source of several different packages to get them to compile. I've always ended > up re-tar.gz'ing (<- now that is an interesting word) them and having to start > everything over from scratch. Well, no. _That_ part you can short-circuit. I have been through the process a few times myself so I know it pretty well. :-) Whatever you modify you add as a patch to your sources, or new/changed commands in specs, and you adjust your spec file as well so the next time when you will be building from zero your changes will be applied. > It would be nice to selectively move from > compiling, to installing, This is what '--short-circuit' flag is for. > and finally to wrapping a binary package one step at > a time. And this part is designed so anybody else can do 'rpm --rebuild ...' and this will really happen (at least in an environment similar enough). > What is with that 'rm -rf' thing anyway? An insurance that you are really doing what your spec file claims that you are doing. This file is supposed to be a record of actual steps required to go from sources to working and installable binaries. Not everywhere you can do 'make distclean'. OTOH there is really nothing which would _force_ you to use rpm. But if you want to rely on rpm features then allowing "quasi-rpms", or "nearly-but-not-quite-rpms", would make all of this not worth to bother in a short time. I realize that this is PITA on a slow machine and with a big package. That is why I suggested some hacks around that (as a temporary measure for a development work) but they indeed do not allow to produce a binary package in one way and suggest at the same time that something else was done. Michal ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: RPM short circuit was Re: Success with KDE2b4 2000-08-29 18:48 ` Mark Arrasmith 2000-08-29 20:42 ` Michal Jaegermann @ 2000-08-29 21:30 ` Peter Petrakis 1 sibling, 0 replies; 21+ messages in thread From: Peter Petrakis @ 2000-08-29 21:30 UTC (permalink / raw) To: axp-list > Yeah, but sneaking in weird stuff is so much fun. I've had to change the > source of several different packages to get them to compile. I've always ended > up re-tar.gz'ing (<- now that is an interesting word) them and having to start > everything over from scratch. It would be nice to selectively move from > compiling, to installing, and finally to wrapping a binary package one step at > a time. Yes. This would be a vaulable extention indeed. Especially when you're packaging something that takes a long time to compile like for example gcc. > > It is possible to create and use another spec file which will be doing > > mostly nothing until an installation phase. Like one for Netscape from > > DU. :-) Techically this will be a different rpm archive then the one you > > tried to build in the first place. Either redefine prep to do mostly > > nothing or prepare "sources" from your current compilation tree. > > Do not unpack on the top what you compiled or you will be starting > > from scratch again. The first action in a normal prep is 'rm -rf ...'. That's one way of doing it though I would like to keep things as simple as possible. Having a couple differnet versions of spec files that have different purposes is kind of a pain. > What is with that 'rm -rf' thing anyway? I can understand the need to delete > old binary trees, but why not do the same as the removing of the /var/tmp > build roots. Leave it as a command after the prep. Basically without that you > could simply comment out the 'rm -rf' and not have to rebuild all the object > files. Also, can I changed the default behavior of the %prep macro? Indeed. Passing a command flag that will change the default behavior of %prep would be ideal. That or you 'could' define your own macro to use instead of %prep that allowed such things in /usr/lib/rpm/macros. Peter -- www.alphalinux.org Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org "Oh my God! They killed Xena! You bastards!!" "<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..." ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: RPM short circuit 2000-08-29 16:01 ` RPM short circuit was " Mark Arrasmith 2000-08-29 17:50 ` Peter Petrakis @ 2000-08-29 18:34 ` Mark Arrasmith 2000-08-29 21:10 ` Peter Petrakis 2000-08-30 5:17 ` RPM short circuit was Re: Success with KDE2b4 SL Baur 2 siblings, 1 reply; 21+ messages in thread From: Mark Arrasmith @ 2000-08-29 18:34 UTC (permalink / raw) To: axp-list As far as the API 1100 . . . Is anyone selling them? I have several SX boxes I want to replace. I've had some success with commenting out the prep and build directories of some .spec files. You just have to remember to add things like cd /usr/src/redhat/BUILD/app_path in the %install section. This works as long as things set in %prep are not needed in the %install. Which means the the kde source rpms can't work that way (they require several file settings). I personally think the idea of adding -bb -ba -bs to the short-circuit of rpm is great. Anybody else want to give it a shot? ;) For the people that have worked on rpm it doesn't seem like that hard of a feature to add. (spoken like a person who hasn't even looked at the source). Of course an rpm -bb --continue_failed would be best. - mark arrasmith ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: RPM short circuit 2000-08-29 18:34 ` RPM short circuit Mark Arrasmith @ 2000-08-29 21:10 ` Peter Petrakis 0 siblings, 0 replies; 21+ messages in thread From: Peter Petrakis @ 2000-08-29 21:10 UTC (permalink / raw) To: axp-list Mark Arrasmith wrote: > > As far as the API 1100 . . . Is anyone selling them? I have several SX boxes I > want to replace. Check the reseller's list at API and call one. I know that you dont see them activly adverised on vendor's sites yet (why?). but people are buying them. BTW USB works on this i 2.4.0-7 > I've had some success with commenting out the prep and build directories of > some .spec files. You just have to remember to add things like cd > /usr/src/redhat/BUILD/app_path in the %install section. This works as long as > things set in %prep are not needed in the %install. Which means the the kde > source rpms can't work that way (they require several file settings). Yup that makes sense. > I personally think the idea of adding -bb -ba -bs to the short-circuit of rpm is > great. Anybody else want to give it a shot? ;) For the people that have > worked on rpm it doesn't seem like that hard of a feature to add. (spoken > like a person who hasn't even looked at the source). Of course an > rpm -bb --continue_failed would be best. it doesnt sound too difficult to implement (i say that now). I'll give it a shot. Peter -- www.alphalinux.org Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org "Oh my God! They killed Xena! You bastards!!" "<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..." ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: RPM short circuit was Re: Success with KDE2b4 2000-08-29 16:01 ` RPM short circuit was " Mark Arrasmith 2000-08-29 17:50 ` Peter Petrakis 2000-08-29 18:34 ` RPM short circuit Mark Arrasmith @ 2000-08-30 5:17 ` SL Baur 2 siblings, 0 replies; 21+ messages in thread From: SL Baur @ 2000-08-30 5:17 UTC (permalink / raw) To: axp-list [-- Attachment #1: Type: text/plain, Size: 298 bytes --] Mark Arrasmith <arrasmith@math.twsu.edu> writes in axp-list@redhat.com: > ... short-circuit of rpm -bb. If the package is already compiled, > is there any way to jump past the prep, compile, and install stages > straight to building a binary? We patch this into RPM. It is a very small patch. [-- Attachment #2: Type: text/plain, Size: 390 bytes --] --- rpm-4.0/rpmqv.c.orig Mon Jul 10 00:49:36 2000 +++ rpm-4.0/rpmqv.c Mon Aug 7 01:15:43 2000 @@ -1280,6 +1280,8 @@ case 'b': ba->buildAmount |= RPMBUILD_PACKAGEBINARY; ba->buildAmount |= RPMBUILD_CLEAN; + if ((ba->buildChar == 'a' || ba->buildChar == 'b') && ba->shortCircuit) + break; /*@fallthrough@*/ case 'i': ba->buildAmount |= RPMBUILD_INSTALL; ^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2000-08-30 18:16 UTC | newest] Thread overview: 21+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2000-08-28 22:11 Success with KDE2b4 Dave Gilbert 2000-08-29 0:10 ` Peter Petrakis 2000-08-28 23:45 ` Dave Gilbert 2000-08-29 14:23 ` Peter Petrakis 2000-08-29 5:58 ` Thomas Leitner 2000-08-29 9:28 ` Dave Gilbert 2000-08-30 5:37 ` Thomas Leitner 2000-08-30 15:15 ` Michal Jaegermann 2000-08-30 17:10 ` Dave Gilbert 2000-08-30 19:21 ` Peter Petrakis 2000-08-29 14:59 ` Mark Arrasmith 2000-08-29 16:29 ` Peter Petrakis 2000-08-29 16:01 ` RPM short circuit was " Mark Arrasmith 2000-08-29 17:50 ` Peter Petrakis 2000-08-29 17:29 ` Michal Jaegermann 2000-08-29 18:48 ` Mark Arrasmith 2000-08-29 20:42 ` Michal Jaegermann 2000-08-29 21:30 ` Peter Petrakis 2000-08-29 18:34 ` RPM short circuit Mark Arrasmith 2000-08-29 21:10 ` Peter Petrakis 2000-08-30 5:17 ` RPM short circuit was Re: Success with KDE2b4 SL Baur
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox