Hi Guy,
dpkg -l "$1" 2> /dev/null | grep '^ii' &> /dev/null
So i think the answer to test_reqpkg is false in your case
You must be right, with a short test I did, it didn't
return true.
I still wonder why it wanted to build with mouse when
trying make_deb.sh and why not (rightly) when trying with
make_gnu.sh?
[ I've now installed hbgpmg1-dev, which will solve this
problem, but IMO still would have to be fixed if indeed
a detection problem. ]
Recent distribution like debian sid and i suppose ubuntu 8.04
use libgpm-dev instead of libgpmg1-dev (note that in debian
sid package libgpmg1-dev is still there as a transitional
package). So, i suppose libgpmg1-dev is removed from
ubuntu 8.04 (see with aptitude search libgpm)
I've checked and in Ubuntu, the names remained:
libgpmg1
libgpmg1-dev
with something like that :
if [ -z "$HB_GPM_MOUSE" ] && ( test_reqpkg libgpmg1-dev ||
test_reqpkg libgpm-dev )
I'll change that.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour