[M3devel] RC3 m3gdb on LINUXLIBC6
Rodney M. Bates
rodney.m.bates at cox.net
Mon Oct 19 23:24:17 CEST 2009
Hmm, I've never seen this. I don't know where install.sh is
coming from. The only thing in the repository I can find by
that name is inside the copy of readline that is in gdb, and it
is clearly not the script in question.
I always use scripts/do-cm3-m3gdb.sh or do-cm3-<whatever>.sh,
with build or buildship, which runs cm3 in m3-sys/m3gdb, which
uses m3-sys/m3gdb/src/m3makefile, which contains. starting at
line 126:
% build the exportable link and man page and export them
cp_if ("gdb/gdb" & EXE, "m3gdb" & EXE)
BindExport ("m3gdb" & EXE)
ManPage ("m3gdb","1")
Note that the compiled executable is in m3-sys/m3gdb/LINUXLIBC6/gdb/gdb,
a different name than the one installed. This is no doubt a leftover from
m3gdb's being derived from gdb. The line 127 above looks like it takes care
of the rename.
For me, both "do-cm3-m3gdb ship" (in scripts) and the cm3 -ship command
it executes (in m3-sys/m3gdb) install a copy in /usr/local/cm3/bin, as
expected.
Where does install.sh come from?
hendrik at topoi.pooq.com wrote:
> m3gdb doesn's seem to install.
> Is this a known problem?
> Has it been fixed in CVS and therefore should be OK in RC4?
> Or is it likely I've done something horribly wrong before now?
> (I have been doing a number of installations and ununstallations on
> this machine to provide you with error reports, so it's
> conceivable that there's some crud around somewhere.)
>
> hendrik at notlookedfor:~/cm3/RC3/m3gdb$ ls
> hendrik at notlookedfor:~/cm3/RC3/m3gdb$ script m3gdblog
> Script started, file is m3gdblog
> hendrik at notlookedfor:~/cm3/RC3/m3gdb$ tar -zxf
> /home/hendrik/Desktop/cm3-bin-ws-m3gdb-LINUXLIBC6-5.8.3-RC3.tgz
> hendrik at notlookedfor:~/cm3/RC3/m3gdb$ ls
> collection-m3gdb.html install.sh m3gdblog m3-sys setup.cmd
> setup.txt
> hendrik at notlookedfor:~/cm3/RC3/m3gdb$ ./install.sh
> installing package m3-sys/m3gdb
> --- shipping from LINUXLIBC6 ---
>
> hendrik at notlookedfor:~/cm3/RC3/m3gdb$ ls /usr/local/cm3/bin
> cm3 cm3.cfg cm3cg cm3ide config formsedit m3bundle mklib
> hendrik at notlookedfor:~/cm3/RC3/m3gdb$ exit
> Script done, file is m3gdblog
> hendrik at notlookedfor:~/cm3/RC3/m3gdb$
>
> -- hendrik
>
>
>
More information about the M3devel
mailing list