Przemyslaw Czerpak escreveu:

For some reasons we lost auto detection from make_gnu.sh build scripts
though maybe it was only in removed ./make_gcc.sh. I do not remember.
Anyhow it should work for RPM and DEB packages.
If you are using DEB based distribution then you should use ./mpkg_deb.sh
to create DEB packages with Harbour binaries. It also automatically
detects if libx11-dev is installed and sets
    export HB_WITHOUT_X11=yes
if necessary. You can also set this envvar manually to yes/no values
to force requested behavior.
BTW as I can see the lib name used by you was xorg-dev not libx11-dev.
If xorg-dev does not provide libx11-dev aliassing then this lines in
mpkg_deb.sh:

   if [ -z "$HB_WITHOUT_X11" ] && ! test_reqpkg libx11-dev
   then
       export HB_WITHOUT_X11=yes
   fi

should be changed to:

   if [ -z "$HB_WITHOUT_X11" ] && \
      ! test_reqpkg libx11-dev && ! test_reqpkg xorg-dev
   then
       export HB_WITHOUT_X11=yes
   fi

otherwise GTXWC will not be created at all if you do not force it by
   export HB_WITHOUT_X11=no

Can you check it?


Przemek,

The package xorg-dev is installed (is a meta-package and libx11-dev is included). After a svn update, i executed the script mpkg_deb.sh (whithout changes) and the script worked ok. Note: i don´t defined the variable HB_WITHOUT_X11.

After a "sudo dpkg -i harbour-1.0.1-1_i386.deb", i have harbour installed and working (tested with a small prg and hbmk2).

In folder /usr/lib/harbour, i can see:

libgtcgi.a
libgtpca.a
libgtstd.a
libgttrm.a
libgtxwc.a

Tell me if you need more tests.


Regards,
Marcos Gambeta

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to