This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [ITP] gt5-1.3 -- A terminal program to show disk usage and navigate between directories


On 20 February 2006 16:10, Jari Aalto wrote:

> "Dave Korn" <dave.korn-RQamRl9Jd2/QT0dZR+AlfA@public.gmane.org> writes:
>> 
>> Hmm, I had to install cygbuild
> 
> That is not a requirement. Only if you intend to start porting source
> packages. The included *.sh is self hosting to build the binaries.

  When I just tried running it as-is, I got that 'SetDebug' error.  When I
installed latest cygbuild from cvs it went away.  And nothing I have tried has
managed to make the included *.sh build and install a working gt5 for me.

>> before I could build it from source, which
>> seems a bit OTT just for installing a shell script!
> 
> It's a build system; automatic (like RPM or DEB), so it's different
> from g-b-s.

  Well, I suspect my difficulty is in not knowing how to operate it.

>> And I get this error
>> which I think means it can't set DESTDIR right, so the install doesn't
>> work. 
>> 
>> dk@rainbow /artimi/cyg-test-gt5/test> ./gt5-1.3-1.sh -v install

  As I said earlier, I have now realised that this is /supposed/ to just build
an install tree under .inst.
 
> Hm, you want to use command "all". See the help page

  Of course I read the help page and tried "all".  It didn't work.  Of course,
I wouldn't expect it to, because, after reading the help page, it explained
that the "all" doesn't do anything except test the packaging.  Here, let me
show you the "all" command not working:

dk@rainbow /artimi/cyg-test-gt5/test-2> which gt5
gt5: Command not found.
dk@rainbow /artimi/cyg-test-gt5/test-2> ls -la
total 69
drwxr-xr-x+ 2 dk Domain Users     0 Feb 20 17:53 .
drwxr-xr-x+ 6 dk Domain Users     0 Feb 20 17:52 ..
-rw-r--r--  1 dk Domain Users 65813 Feb 20 17:53 gt5-1.3-1-src.tar.bz2
-rw-r--r--  1 dk Domain Users   253 Feb 20 17:53 gt5-1.3-1-src.tar.bz2.sig
dk@rainbow /artimi/cyg-test-gt5/test-2> gpg --verify gt5-1.3-1-src.tar.bz2.sig
 gt5-1.3-1-src.tar.bz2
gpg: Signature made Fri Feb 17 16:41:42 2006 GMTST using DSA key ID 955A92D8
gpg: Good signature from "Jari Aalto <jari.aalto@PCYM...>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 9091 46E3 6C0C 9F3F 02C6  6D37 4DA7 F284 955A 92D8
dk@rainbow /artimi/cyg-test-gt5/test-2> tar xfvj gt5-1.3-1-src.tar.bz2
gt5-1.3-1-cygwin.patch
gt5-1.3-1-cygwin.patch.sig
gt5-1.3-1.sh
gt5-1.3-1.sh.sig
gt5-1.3.tar.gz
dk@rainbow /artimi/cyg-test-gt5/test-2> ./gt5-1.3-1.sh all
-- Cygbuild 2006-02-17 1.832 http://cygbuild.sourceforge.net/
-- [NOTE] command [all] is used for checking build procedure only. It does not
p
roduce any real results. See -h for source development options.
-- Verifying signatures in /artimi/cyg-test-gt5/test-2
gpg: Good signature from "Jari Aalto <jari.aalto@PCYM...>"
gpg: Good signature from "Jari Aalto <jari.aalto@PCYM...>"
gpg: Good signature from "Jari Aalto <jari.aalto@PCYM...>"
-- Extracting /artimi/cyg-test-gt5/test-2/gt5-1.3.tar.gz
-- cd /artimi/cyg-test-gt5/test-2 && patch  --strip=0  --forward  --fuzz=3
--se
t-utc   --quiet < gt5-1.3-1-cygwin.patch
--   [NOTE] If patch fails, you may need rm -rf
/artimi/cyg-test-gt5/test-2/gt5-
1.3
Not setting time of file gt5-1.3/Makefile (time mismatch)
-- Running 'make clean' (or equiv.) in /artimi/cyg-test-gt5/test-2/gt5-1.3
rm -f *[#~] *.\#* *.o *.exe core *.stackdump
-- Running 'make distclean' (or equiv.) in /artimi/cyg-test-gt5/test-2/gt5-1.3
rm -f *[#~] *.\#* *.o *.exe core *.stackdump
-- Making Cygwin directories under /artimi/cyg-test-gt5/test-2/gt5-1.3
--   Running: make clean distclean (ignore errors; if any)
rm -f *[#~] *.\#* *.o *.exe core *.stackdump
make: Nothing to be done for `distclean'.
-- Wait, preparing compile. Shadowing source files to
/artimi/cyg-test-gt5/test-
2/gt5-1.3/.build/build
-- Shadow finished.
-- Configure command
--   No standard configre script found
-- Build command
--   Building with standard make(1) ./Makefile
nothing to build, gt5 is a shell-script
run make [un]install to [un]install
-- Install command
--   Emptying /artimi/cyg-test-gt5/test-2/gt5-1.3/.inst
--   Installing docs to
/artimi/cyg-test-gt5/test-2/gt5-1.3/.inst/usr/share/doc/
gt5-1.3
--   Running install to /artimi/cyg-test-gt5/test-2/gt5-1.3/.inst
--   Running 'make install' (or equiv.) in
/artimi/cyg-test-gt5/test-2/gt5-1.3/.
build/build
/usr/bin/install -m 755 -d /artimi/cyg-test-gt5/test-2/gt5-1.3/.inst/usr/bin
/usr/bin/install -m 755    gt5
/artimi/cyg-test-gt5/test-2/gt5-1.3/.inst/usr/bin

/usr/bin/install -m 755 -d
/artimi/cyg-test-gt5/test-2/gt5-1.3/.inst/usr/share/m
an/man1
/usr/bin/install -m 644 *.1
/artimi/cyg-test-gt5/test-2/gt5-1.3/.inst/usr/share/
man/man1
--   Compressing manual pages
-- See also: find .inst/ -print
--   [WARN] Hm, no installed files to strip.
-- Checking content of installation in
/artimi/cyg-test-gt5/test-2/gt5-1.3/.inst

--   [INFO] Manual page check: no executables found in
/artimi/cyg-test-gt5/test
-2/gt5-1.3/.inst
--   [INFO] Binaries check: No executables found in
/artimi/cyg-test-gt5/test-2/
gt5-1.3/.inst
-- Check done. Please verify messages above.
-- Making package [binary]
/artimi/cyg-test-gt5/test-2/gt5-1.3/.sinst/gt5-1.3-1.
tar.bz2
-- Making [patch]
/artimi/cyg-test-gt5/test-2/gt5-1.3/.sinst/gt5-1.3-1-cygwin.pa
tch
--   Wait, taking a snapshot (may take a while)..  Done.
-- Running 'make clean' (or equiv.) in
/artimi/cyg-test-gt5/test-2/gt5-1.3/.buil
d/gt5-1.3
rm -f *[#~] *.\#* *.o *.exe core *.stackdump
-- Running 'make distclean' (or equiv.) in
/artimi/cyg-test-gt5/test-2/gt5-1.3/.
build/gt5-1.3
rm -f *[#~] *.\#* *.o *.exe core *.stackdump
-- Making package [source]
/artimi/cyg-test-gt5/test-2/gt5-1.3/.sinst/gt5-1.3-1-
src.tar.bz2
-- [finish] Removing /artimi/cyg-test-gt5/test-2/gt5-1.3
-- Done.
dk@rainbow /artimi/cyg-test-gt5/test-2> which gt5
gt5: Command not found.

> The individual commands must be run in specific order in order to
> prepare the build (cf. -h option).

  Of course I read the built-in help and tried the commands prep, conf, make
and install in that order.  It didn't work.

> I'll add more error checking to prevent direct invocation of install
> if the preliminary steps are not done.

  It's not a matter of checking for errors.  IT DOES NOT WORK!  Let me
demonstrate prep, conf, make, install not working:

dk@rainbow /artimi/cyg-test-gt5/test-2> ./gt5-1.3-1.sh prep
-- Cygbuild 2006-02-17 1.832 http://cygbuild.sourceforge.net/
-- Extracting /artimi/cyg-test-gt5/test-2/gt5-1.3.tar.gz
-- cd /artimi/cyg-test-gt5/test-2 && patch  --strip=0  --forward  --fuzz=3
--se
t-utc   --quiet < gt5-1.3-1-cygwin.patch
--   [NOTE] If patch fails, you may need rm -rf
/artimi/cyg-test-gt5/test-2/gt5-
1.3
Not setting time of file gt5-1.3/Makefile (time mismatch)
-- Running 'make clean' (or equiv.) in /artimi/cyg-test-gt5/test-2/gt5-1.3
rm -f *[#~] *.\#* *.o *.exe core *.stackdump
-- Running 'make distclean' (or equiv.) in /artimi/cyg-test-gt5/test-2/gt5-1.3
rm -f *[#~] *.\#* *.o *.exe core *.stackdump
-- Making Cygwin directories under /artimi/cyg-test-gt5/test-2/gt5-1.3
-- Done.
dk@rainbow /artimi/cyg-test-gt5/test-2> ./gt5-1.3-1.sh conf
-- Cygbuild 2006-02-17 1.832 http://cygbuild.sourceforge.net/
-- Configure command
--   Hm, no shadow yet. Running it for you now.
--   Running: make clean distclean (ignore errors; if any)
rm -f *[#~] *.\#* *.o *.exe core *.stackdump
make: Nothing to be done for `distclean'.
-- Wait, preparing compile. Shadowing source files to
/artimi/cyg-test-gt5/test-
2/gt5-1.3/.build/build
-- Shadow finished.
--   No standard configre script found
-- Done.
dk@rainbow /artimi/cyg-test-gt5/test-2> ./gt5-1.3-1.sh make
-- Cygbuild 2006-02-17 1.832 http://cygbuild.sourceforge.net/
-- Build command
--   Building with standard make(1) ./Makefile
nothing to build, gt5 is a shell-script
run make [un]install to [un]install
-- Done.
dk@rainbow /artimi/cyg-test-gt5/test-2> ./gt5-1.3-1.sh install
-- Cygbuild 2006-02-17 1.832 http://cygbuild.sourceforge.net/
-- Install command
--   Emptying /artimi/cyg-test-gt5/test-2/gt5-1.3/.inst
--   Installing docs to
/artimi/cyg-test-gt5/test-2/gt5-1.3/.inst/usr/share/doc/
gt5-1.3
--   Running install to /artimi/cyg-test-gt5/test-2/gt5-1.3/.inst
--   Running 'make install' (or equiv.) in
/artimi/cyg-test-gt5/test-2/gt5-1.3/.
build/build
/usr/bin/install -m 755 -d /artimi/cyg-test-gt5/test-2/gt5-1.3/.inst/usr/bin
/usr/bin/install -m 755    gt5
/artimi/cyg-test-gt5/test-2/gt5-1.3/.inst/usr/bin

/usr/bin/install -m 755 -d
/artimi/cyg-test-gt5/test-2/gt5-1.3/.inst/usr/share/m
an/man1
/usr/bin/install -m 644 *.1
/artimi/cyg-test-gt5/test-2/gt5-1.3/.inst/usr/share/
man/man1
--   Compressing manual pages
-- See also: find .inst/ -print
-- Done.
dk@rainbow /artimi/cyg-test-gt5/test-2> which gt5
gt5: Command not found.
dk@rainbow /artimi/cyg-test-gt5/test-2>







  Forgive me if I'm being really stupid, or if we just have different meanings
of the word "work", but I just don't get it:  /HOW/ do I turn this source
tarball into a working, installed version of gt5 on my pc?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]