On Wednesday 08 October 2008 12:49:16 am Phil Barnett wrote: > On Tuesday 07 October 2008 08:45:51 pm Przemyslaw Czerpak wrote: > > > I saw the environment parameter included in all of the gcc compile > > > strings, so I think that -DHB_GUI was compiled into the compiler. Then > > > I ran mpkg_tgz.sh and installed it again over the old output. Then I > > > recompiled speedtst. > > > > And this could be the source of problem: mpkg_tgz.sh always rebuild > > Harbour from scratch so it overloaded your previous build. > > Well, I see that I worded that badly. I saw that right after I sent it. > > I did this: > > export -DHB_GUI > mpkg_tgz.sh > > (I observed that -DHB_GUI was in the compile strings) > > Installled the resulting tarball > > Recompiled the speedtst > > ran it with poor results. > > Is there a better way to recompile and install on linux?
Sry for jump in. Hello Phil, I see that you are use a rpm based distro (Fedora 9) so you can build the binaries and install it as rpm's. To create the Harbour rpm's, you just need to send the following command in an console: $ ./mpkg_rpm.sh this method requires that you have also installed the "rpm-build" package, which can be installed by sending the following command in an console (as root user): # yum install rpm-build It is possible that you are asked for other packages, like "slang-devel". I don't know if this has changed in the current SVN. Anyway you can install it with yum. Once that the packages are build (the ending process for rpm-build shows where the packages are created, usually your "/home/Phil/RPM/RPMS/i386" dir, assuming that your username is Phil) you just need to send (as root) the following command in an console from the place where are the Harbour packages: # rpm -Uvh harbour*rpm If you wish to change some compile time parameters, you can change it in the harbour.spec file, i.e. to add the "-DHB_GUI" define, (currently in the line 70) search for the "%define hb_cflag" text and change the values in the export definition there. best regards Teo _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour