Loading ...
Sorry, an error occurred while loading the content.

Re: New version of me-standalone

Expand Messages
  • azynheira
    Hi All, Steve, you were right, some replacing of r = rb and it seems to be working as if should. The archive is correctly generated now ... Regards, Pedro
    Message 1 of 10 , Nov 9, 2009
    • 0 Attachment
      Hi All,
      Steve, you were right, some replacing of "r" => "rb" and it seems to be working as if should. The archive is correctly generated now ...

      Regards,
      Pedro
      --- In jasspa@yahoogroups.com, Steven Phillips <bill@...> wrote:
      >
      > Initial thought is that the bfs program is not opening the files binary
      > (i.e. "r" instead of "rb" and "w" instead of "wb") - doesn't make a lot
      > of difference on unix but does on windows.
      >
      > Steve
      >
      > azynheira wrote:
      > >
      > >
      > > Hi Jon,
      > > I patched the makefile and some of the files and was able to produce a
      > > bfs.exe and mew32.exe files to try it out in Win32. The results are
      > > the following:
      > >
      > > 1) No crashes as you predirected! :P
      > >
      > > 2) I have some problems creating archives (outut below). May be it as
      > > to be do with the endeanness of the thing ....
      > >
      > > I'll look into it...
      > >
      > > Regards,
      > > Pedro
      > > --- cut here ---
      > > D:\ME\src\std2\bfs-v0.1.1>bfs.exe -a d:\me\pedro.bfs d:\me\pt101224
      > > Stripping archive and none attached "d:\me\pedro.bfs"
      > > Building from directory "d:\me\pt101224"
      > > Archive commencing from byte offset 787040
      > > ERROR: "d:\me\pt101224/attic/Siemens.emf" size mismatch 98!=104
      > > ERROR: "d:\me\pt101224/lsdmengb.edf" size mismatch 342!=470142
      > > ERROR: "d:\me\pt101224/lsdmptpt.edf" size mismatch 16!=509950
      > > ERROR: "d:\me\pt101224/lsdxengb.edf" size mismatch 751!=508084
      > > ERROR: "d:\me\pt101224/old/default.emf" size mismatch 29!=30
      > > ERROR: "d:\me\pt101224/old/meemf.emf" size mismatch 83!=86
      > > ERROR: "d:\me\pt101224/old/pedro.zip" size mismatch 742!=223701
      > > Archive constructed 393520 bytes
      > > Completed archive build from "d:\me\pt101224" [ok]
      > > ---cut here --
      > >
      > > --- In jasspa@yahoogroups.com <mailto:jasspa%40yahoogroups.com>, Jon
      > > Green <jon@> wrote:
      > > >
      > > > azynheira wrote:
      > > > > Hi Jon,
      > > > > Looks nice, I'm giving it a try the next few days ... :P
      > > > >
      > > > > Do you mind if I do the Win32 port of the stuff ?
      > > > >
      > > > > Regards,
      > > > > Pedro
      > > > >
      > > >
      > > > I think it all just about builds on Windows.
      > > >
      > > > I got a bfs.exe building under minGW with virtually no changes to
      > > the code last
      > > > night. I've not compiled a me32.exe yet but I think this should be
      > > fine,
      > > > possibly need to define fseeko=>fseek ad ftello=>ftell.
      > > >
      > > > Jon
      > > >
      > > >
      > > >
      > > >
      > > > > --- In jasspa@yahoogroups.com <mailto:jasspa%40yahoogroups.com>,
      > > Jon Green <jon@> wrote:
      > > > >> Jon Green wrote:
      > > > >>> I have just posted a new version of me-standalone for some more
      > > alpha testing.
      > > > >>>
      > > > >>> This version is concatenated on the bottom of the executable
      > > using a command
      > > > >>> line utility called "bfs" as follows:
      > > > >>>
      > > > >>> To build a bfs archive then simply unpack the "metree" and
      > > remove things
      > > > >>> that you do not want in the archive:
      > > > >>>
      > > > >>> % tar zxvf jasspa-metree-20091017.tar.gz
      > > > >>> % rm -rf ./jasspa/pixmaps
      > > > >>>
      > > > >>> Build the archive and add to the executable from a directory:
      > > > >>>
      > > > >>> % bfs -a mypath/mecw -o me ./jasspa
      > > > >>>
      > > > >>> Append an already existing archive to the executable:
      > > > >>>
      > > > >>> % bfs -a mypath/mecw -o me jasspa-metree-20091117.bfs
      > > > >>>
      > > > >>> This should now be a stand alone executable. If you append again
      > > it will
      > > > >>> remove the old archive and add a new one. You can list the
      > > archive attached
      > > > >>> to the executable:
      > > > >>>
      > > > >>> % bfs -l me
      > > > >>>
      > > > >>> You can remove the archive attached to the executable:
      > > > >>>
      > > > >>> % bfs -s me
      > > > >>>
      > > > >>> You can extract the archive attached to the executable which
      > > will extract
      > > > >>> the directory tree in the archive to a new directory called
      > > "oldarch".
      > > > >>>
      > > > >>> % bfs -x oldarch me
      > > > >>>
      > > > >>> So you can now build your own attachable and then add to the
      > > bottom. If you do
      > > > >>> not attach then "me" runs as normal.
      > > > >>>
      > > > >>> The code is NOT ported to windows yet but should work for most
      > > versions of
      > > > >>> *NIX. I have only tested this on Linux and Solaris so far.
      > > > >>>
      > > > >>> The bfs on a 64-bit build is a bit funny, it allows:
      > > > >>>
      > > > >>> % bfs -a mypath/mecw -o me jasspa-metree-20091117.bfs
      > > > >>>
      > > > >>> but does not allow
      > > > >>>
      > > > >>> % bfs -a me jasspa-metree-20091117.bfs
      > > > >>>
      > > > >>> which it should do. That is the only issue I have found so far.
      > > > >>>
      > > > >>> Have fun!
      > > > >>>
      > > > >> Here is a fix for the amd64 issue I highlighted above.
      > > > >>
      > > > >>
      > > > >> cd /home/jon/medev/bfs-v0.1.2/
      > > > >> gdiff --context --minimal --ignore-space-change --recursive
      > > > >> "/home/jon/medev/bfs-v0.1.2/ucopy.c~"
      > > "/home/jon/medev/bfs-v0.1.2/ucopy.c"
      > > > >>
      > > > >> *** /home/jon/medev/bfs-v0.1.2/ucopy.c~ 2009-11-08
      > > 22:18:07.714444000 +0000
      > > > >> --- /home/jon/medev/bfs-v0.1.2/ucopy.c 2009-11-08
      > > 22:19:37.927169000 +0000
      > > > >> ***************
      > > > >> *** 145,151 ****
      > > > >> int
      > > > >> bfs_fileappend (int options, char *srcfile, char *destfile)
      > > > >> {
      > > > >> ! int status;
      > > > >> FILE *rfp;
      > > > >> FILE *wfp;
      > > > >>
      > > > >> --- 145,151 ----
      > > > >> int
      > > > >> bfs_fileappend (int options, char *srcfile, char *destfile)
      > > > >> {
      > > > >> ! int status = 0;
      > > > >> FILE *rfp;
      > > > >> FILE *wfp;
      > > > >>
      > > > >> [EXIT 1]
      > > > >>
      > > > >> Jon.
      > > > >>
      > > > >
      > > > >
      > > > >
      > > > >
      > > > > ------------------------------------
      > > > >
      > > > > __________________________________________________________
      > > > >
      > > > > This is an unmoderated list, but new members are moderated to
      > > ensure that there are no spam users. JASSPA is not responsible for the
      > > content of
      > > > > any material posted to this list.
      > > > >
      > > > > To un-subscribe, send a mail message to
      > > > >
      > > > > mailto:jasspa-unsubscribe@yahoogroups.com
      > > <mailto:jasspa-unsubscribe%40yahoogroups.com>
      > > > >
      > > > > or visit http://groups.yahoo.com/group/jasspa
      > > <http://groups.yahoo.com/group/jasspa> and
      > > > > modify your account settings manually.
      > > > >
      > > > >
      > > > > Yahoo! Groups Links
      > > > >
      > > > >
      > > > >
      > > > >
      > > >
      > >
      > >
      >
    • Jon Green
      ... Hi Pedro, You are the first on Windows. Is it working now? Can you build an archive, add it and it runs file in windows? Jon
      Message 2 of 10 , Nov 9, 2009
      • 0 Attachment
        On Mon 09/11/09 12:15 PM , "azynheira" pedro.gomes@... sent:
        > Hi All,
        > Steve, you were right, some replacing of "r" => "rb"
        > and it seems to be working as if should. The archive is correctly generated
        > now ...
        > Regards,
        > Pedro

        Hi Pedro,

        You are the first on Windows.
        Is it working now? Can you build an archive, add it and it runs file in windows?

        Jon

        > --- In jasspa
        > @yahoogroups.com, Steven Phillips <bill@...> wrote:>
        > > Initial thought is that the bfs program is not
        > opening the files binary > (i.e. "r" instead of "rb"
        > and "w" instead of "wb") - doesn't make a lot
        > > of difference on unix but does on
        > windows.>
        > > Steve
        > >
        > > azynheira wrote:
        > > >
        > > >
        > > > Hi Jon,
        > > > I patched the makefile and some of the
        > files and was able to produce a > > bfs.exe and mew32.exe files to try it out
        > in Win32. The results are > > the following:
        > > >
        > > > 1) No crashes as you predirected!
        > :P> >
        > > > 2) I have some problems creating archives
        > (outut below). May be it as > > to be do with the endeanness of the thing
        > ....> >
        > > > I'll look into it...
        > > >
        > > > Regards,
        > > > Pedro
        > > > --- cut here ---
        > > > D:\ME\src\std2\bfs-v0.1.1>bfs.exe -a
        > d:\me\pedro.bfs d:\me\pt101224> > Stripping archive and none attached
        > "d:\me\pedro.bfs"> > Building from directory
        > "d:\me\pt101224"> > Archive commencing from byte offset
        > 787040> > ERROR:
        > "d:\me\pt101224/attic/Siemens.emf" size mismatch
        > 98!=104> > ERROR:
        > "d:\me\pt101224/lsdmengb.edf" size mismatch
        > 342!=470142> > ERROR:
        > "d:\me\pt101224/lsdmptpt.edf" size mismatch 16!=509950> > ERROR:
        > "d:\me\pt101224/lsdxengb.edf" size mismatch
        > 751!=508084> > ERROR:
        > "d:\me\pt101224/old/default.emf" size mismatch 29!=30> > ERROR:
        > "d:\me\pt101224/old/meemf.emf" size mismatch 83!=86> > ERROR:
        > "d:\me\pt101224/old/pedro.zip" size mismatch
        > 742!=223701> > Archive constructed 393520 bytes
        > > > Completed archive build from
        > "d:\me\pt101224" [ok]> > ---cut here --
        > > >
        > > > --- In jasspa
        > @yahoogroups.com <mailto:jasspa%40yahoogroups.com>, Jon
        > > > Green <jon@> wrote:
        > > > >
        > > > > azynheira wrote:
        > > > > > Hi Jon,
        > > > > > Looks nice, I'm giving it a try
        > the next few days ... :P> > > >
        > > > > > Do you mind if I do the Win32
        > port of the stuff ?> > > >
        > > > > > Regards,
        > > > > > Pedro
        > > > > >
        > > > >
        > > > > I think it all just about builds on
        > Windows.> > >
        > > > > I got a bfs.exe building under minGW
        > with virtually no changes to > > the code last
        > > > > night. I've not compiled a me32.exe
        > yet but I think this should be > > fine,
        > > > > possibly need to define
        > fseeko=>fseek ad ftello=>ftell.> > >
        > > > > Jon
        > > > >
        > > > >
        > > > >
        > > > >
        > > > > > --- In jasspa
        > @yahoogroups.com <mailto:jasspa%40yahoogroups.com>, > > Jon Green <jon@> wrote:
        > > > > >> Jon Green wrote:
        > > > > >>> I have just posted a new
        > version of me-standalone for some more > > alpha testing.
        > > > > >>>
        > > > > >>> This version is
        > concatenated on the bottom of the executable > > using a command
        > > > > >>> line utility called
        > "bfs" as follows:> > > >>>
        > > > > >>> To build a bfs archive
        > then simply unpack the "metree" and > > remove things
        > > > > >>> that you do not want in
        > the archive:> > > >>>
        > > > > >>> % tar zxvf
        > jasspa-metree-20091017.tar.gz> > > >>> % rm -rf
        > ./jasspa/pixmaps> > > >>>
        > > > > >>> Build the archive and add
        > to the executable from a directory:> > > >>>
        > > > > >>> % bfs -a mypath/mecw -o
        > me ./jasspa> > > >>>
        > > > > >>> Append an already
        > existing archive to the executable:> > > >>>
        > > > > >>> % bfs -a mypath/mecw -o
        > me jasspa-metree-20091117.bfs> > > >>>
        > > > > >>> This should now be a
        > stand alone executable. If you append again > > it will
        > > > > >>> remove the old archive
        > and add a new one. You can list the > > archive attached
        > > > > >>> to the
        > executable:> > > >>>
        > > > > >>> % bfs -l me
        > > > > >>>
        > > > > >>> You can remove the
        > archive attached to the executable:> > > >>>
        > > > > >>> % bfs -s me
        > > > > >>>
        > > > > >>> You can extract the
        > archive attached to the executable which > > will extract
        > > > > >>> the directory tree in the
        > archive to a new directory called > > "oldarch".
        > > > > >>>
        > > > > >>> % bfs -x oldarch
        > me> > > >>>
        > > > > >>> So you can now build your
        > own attachable and then add to the > > bottom. If you do
        > > > > >>> not attach then
        > "me" runs as normal.> > > >>>
        > > > > >>> The code is NOT ported to
        > windows yet but should work for most > > versions of
        > > > > >>> *NIX. I have only tested
        > this on Linux and Solaris so far.> > > >>>
        > > > > >>> The bfs on a 64-bit build
        > is a bit funny, it allows:> > > >>>
        > > > > >>> % bfs -a mypath/mecw -o
        > me jasspa-metree-20091117.bfs> > > >>>
        > > > > >>> but does not
        > allow> > > >>>
        > > > > >>> % bfs -a me
        > jasspa-metree-20091117.bfs> > > >>>
        > > > > >>> which it should do. That
        > is the only issue I have found so far.> > > >>>
        > > > > >>> Have fun!
        > > > > >>>
        > > > > >> Here is a fix for the amd64
        > issue I highlighted above.> > > >>
        > > > > >>
        > > > > >> cd
        > /home/jon/medev/bfs-v0.1.2/> > > >> gdiff --context --minimal
        > --ignore-space-change --recursive> > > >>
        > "/home/jon/medev/bfs-v0.1.2/ucopy.c~" > >
        > "/home/jon/medev/bfs-v0.1.2/ucopy.c"> > > >>
        > > > > >> ***
        > /home/jon/medev/bfs-v0.1.2/ucopy.c~ 2009-11-08 > > 22:18:07.714444000 +0000
        > > > > >> ---
        > /home/jon/medev/bfs-v0.1.2/ucopy.c 2009-11-08 > > 22:19:37.927169000 +0000
        > > > > >> ***************
        > > > > >> *** 145,151 ****
        > > > > >> int
        > > > > >> bfs_fileappend (int options,
        > char *srcfile, char *destfile)> > > >> {
        > > > > >> ! int status;
        > > > > >> FILE *rfp;
        > > > > >> FILE *wfp;
        > > > > >>
        > > > > >> --- 145,151 ----
        > > > > >> int
        > > > > >> bfs_fileappend (int options,
        > char *srcfile, char *destfile)> > > >> {
        > > > > >> ! int status = 0;
        > > > > >> FILE *rfp;
        > > > > >> FILE *wfp;
        > > > > >>
        > > > > >> [EXIT 1]
        > > > > >>
        > > > > >> Jon.
        > > > > >>
        > > > > >
        > > > > >
        > > > > >
        > > > > >
        > > > > >
        > ------------------------------------> > > >
        > > > > >
        > __________________________________________________________> > > >
        > > > > > This is an unmoderated list, but
        > new members are moderated to > > ensure that there are no spam users. JASSPA
        > is not responsible for the > > content of
        > > > > > any material posted to this
        > list.> > > >
        > > > > > To un-subscribe, send a mail
        > message to> > > >
        > > > > > jasspa-unsubscribe@yahoogroups.com > >
        > <mailto:jasspa-unsubscribe%40yahoogroups.com>> > > >
        > > > > > or visit http://groups.yahoo.com/group/jasspa > > <http://groups.yahoo.com/group/jasspa>
        > and> > > > modify your account settings
        > manually.> > > >
        > > > > >
        > > > > > Yahoo! Groups Links
        > > > > >
        > > > > >
        > > > > >
        > > > > >
        > > > >
        > > >
        > > >
        > >
        >
        >
        >
        >
        > ------------------------------------
        >
        > __________________________________________________________________________
        > This is an unmoderated list, but new members are moderated to ensure that
        > there are no spam users. JASSPA is not responsible for the content of any material posted to this list.
        >
        > To un-subscribe, send a mail message to
        >
        > jasspa-unsubscribe@yahoogroups.com
        > or visit http://groups.yahoo.com/group/jasspa andmodify your account settings manually.
        >
        >
        > Yahoo! Groups Links
        >
        > Individual Email | Traditional
        >
        > jasspa-unsubscribe@yahoogroups.com
        >
        >
        ---- Message sent via KC WebMail - http://webmail.mistral.net/
      • Gomes, Pedro (NSN - PT/Amadora)
        Hi, Yes, after Steve s suggestion ITS ALIVE :-) ... (add mad laughter at will :-)) The archive is built correctly and the integrity is correct (by using -t),
        Message 3 of 10 , Nov 9, 2009
        • 0 Attachment
          Hi,
          Yes, after Steve's suggestion ITS ALIVE :-) ... (add mad laughter at
          will :-))

          The archive is built correctly and the integrity is correct (by using
          -t), and the .exe file produced does recognize the internal fs if I use
          bfs://foobar ... It works correctly!

          Production log:
          D:\ME\src\std2\bfs-v0.1.1>bfs -a mypath/mecw -o me ./jasspa
          Copying "mypath/mecw" => "me"
          Error: Cannot access file "mypath/mecw"
          Copied "mypath/mecw" => "me" [fail]

          D:\ME\src\std2\bfs-v0.1.1>bfs -a ..\src\mew32.exe -o mex d:\ME\metree
          Copying "..\src\mew32.exe" => "mex"
          Copied "..\src\mew32.exe" => "mex" [ok]
          Stripping archive and none attached "mex"
          Building from directory "d:\ME\metree"
          Archive commencing from byte offset 574976
          Archive constructed 5369629 bytes
          Completed archive build from "d:\ME\metree" [ok]

          Regards,
          Pedro

          -----Original Message-----
          From: ext Jon Green [mailto:jon@...]
          Sent: Monday, November 09, 2009 12:24 PM
          To: jasspa@yahoogroups.com; Gomes, Pedro (NSN - PT/Amadora)
          Subject: Re: [jasspa] Re: New version of me-standalone


          On Mon 09/11/09 12:15 PM , "azynheira" pedro.gomes@... sent:
          > Hi All,
          > Steve, you were right, some replacing of "r" => "rb"
          > and it seems to be working as if should. The archive is correctly
          > generated now ...
          > Regards,
          > Pedro

          Hi Pedro,

          You are the first on Windows.
          Is it working now? Can you build an archive, add it and it runs file in
          windows?

          Jon

          > --- In jasspa
          > @yahoogroups.com, Steven Phillips <bill@...> wrote:>
          > > Initial thought is that the bfs program is not
          > opening the files binary > (i.e. "r" instead of "rb"
          > and "w" instead of "wb") - doesn't make a lot
          > > of difference on unix but does on
          > windows.>
          > > Steve
          > >
          > > azynheira wrote:
          > > >
          > > >
          > > > Hi Jon,
          > > > I patched the makefile and some of the
          > files and was able to produce a > > bfs.exe and mew32.exe files to try

          > it out in Win32. The results are > > the following:
          > > >
          > > > 1) No crashes as you predirected!
          > :P> >
          > > > 2) I have some problems creating archives
          > (outut below). May be it as > > to be do with the endeanness of the
          > thing ....> >
          > > > I'll look into it...
          > > >
          > > > Regards,
          > > > Pedro
          > > > --- cut here ---
          > > > D:\ME\src\std2\bfs-v0.1.1>bfs.exe -a
          > d:\me\pedro.bfs d:\me\pt101224> > Stripping archive and none attached
          > "d:\me\pedro.bfs"> > Building from directory "d:\me\pt101224"> >
          > Archive commencing from byte offset
          > 787040> > ERROR:
          > "d:\me\pt101224/attic/Siemens.emf" size mismatch 98!=104> > ERROR:
          > "d:\me\pt101224/lsdmengb.edf" size mismatch 342!=470142> > ERROR:
          > "d:\me\pt101224/lsdmptpt.edf" size mismatch 16!=509950> > ERROR:
          > "d:\me\pt101224/lsdxengb.edf" size mismatch 751!=508084> > ERROR:
          > "d:\me\pt101224/old/default.emf" size mismatch 29!=30> > ERROR:
          > "d:\me\pt101224/old/meemf.emf" size mismatch 83!=86> > ERROR:
          > "d:\me\pt101224/old/pedro.zip" size mismatch 742!=223701> > Archive
          > constructed 393520 bytes
          > > > Completed archive build from
          > "d:\me\pt101224" [ok]> > ---cut here --
          > > >
          > > > --- In jasspa
          > @yahoogroups.com <mailto:jasspa%40yahoogroups.com>, Jon
          > > > Green <jon@> wrote:
          > > > >
          > > > > azynheira wrote:
          > > > > > Hi Jon,
          > > > > > Looks nice, I'm giving it a try
          > the next few days ... :P> > > >
          > > > > > Do you mind if I do the Win32
          > port of the stuff ?> > > >
          > > > > > Regards,
          > > > > > Pedro
          > > > > >
          > > > >
          > > > > I think it all just about builds on
          > Windows.> > >
          > > > > I got a bfs.exe building under minGW
          > with virtually no changes to > > the code last
          > > > > night. I've not compiled a me32.exe
          > yet but I think this should be > > fine,
          > > > > possibly need to define
          > fseeko=>fseek ad ftello=>ftell.> > >
          > > > > Jon
          > > > >
          > > > >
          > > > >
          > > > >
          > > > > > --- In jasspa
          > @yahoogroups.com <mailto:jasspa%40yahoogroups.com>, > > Jon Green
          <jon@> wrote:
          > > > > >> Jon Green wrote:
          > > > > >>> I have just posted a new
          > version of me-standalone for some more > > alpha testing.
          > > > > >>>
          > > > > >>> This version is
          > concatenated on the bottom of the executable > > using a command
          > > > > >>> line utility called
          > "bfs" as follows:> > > >>>
          > > > > >>> To build a bfs archive
          > then simply unpack the "metree" and > > remove things
          > > > > >>> that you do not want in
          > the archive:> > > >>>
          > > > > >>> % tar zxvf
          > jasspa-metree-20091017.tar.gz> > > >>> % rm -rf ./jasspa/pixmaps> > >
          > >>>
          > > > > >>> Build the archive and add
          > to the executable from a directory:> > > >>>
          > > > > >>> % bfs -a mypath/mecw -o
          > me ./jasspa> > > >>>
          > > > > >>> Append an already
          > existing archive to the executable:> > > >>>
          > > > > >>> % bfs -a mypath/mecw -o
          > me jasspa-metree-20091117.bfs> > > >>>
          > > > > >>> This should now be a
          > stand alone executable. If you append again > > it will
          > > > > >>> remove the old archive
          > and add a new one. You can list the > > archive attached
          > > > > >>> to the
          > executable:> > > >>>
          > > > > >>> % bfs -l me
          > > > > >>>
          > > > > >>> You can remove the
          > archive attached to the executable:> > > >>>
          > > > > >>> % bfs -s me
          > > > > >>>
          > > > > >>> You can extract the
          > archive attached to the executable which > > will extract
          > > > > >>> the directory tree in the
          > archive to a new directory called > > "oldarch".
          > > > > >>>
          > > > > >>> % bfs -x oldarch
          > me> > > >>>
          > > > > >>> So you can now build your
          > own attachable and then add to the > > bottom. If you do
          > > > > >>> not attach then
          > "me" runs as normal.> > > >>>
          > > > > >>> The code is NOT ported to
          > windows yet but should work for most > > versions of
          > > > > >>> *NIX. I have only tested
          > this on Linux and Solaris so far.> > > >>>
          > > > > >>> The bfs on a 64-bit build
          > is a bit funny, it allows:> > > >>>
          > > > > >>> % bfs -a mypath/mecw -o
          > me jasspa-metree-20091117.bfs> > > >>>
          > > > > >>> but does not
          > allow> > > >>>
          > > > > >>> % bfs -a me
          > jasspa-metree-20091117.bfs> > > >>>
          > > > > >>> which it should do. That
          > is the only issue I have found so far.> > > >>>
          > > > > >>> Have fun!
          > > > > >>>
          > > > > >> Here is a fix for the amd64
          > issue I highlighted above.> > > >>
          > > > > >>
          > > > > >> cd
          > /home/jon/medev/bfs-v0.1.2/> > > >> gdiff --context --minimal
          > --ignore-space-change --recursive> > > >>
          > "/home/jon/medev/bfs-v0.1.2/ucopy.c~" > >
          > "/home/jon/medev/bfs-v0.1.2/ucopy.c"> > > >>
          > > > > >> ***
          > /home/jon/medev/bfs-v0.1.2/ucopy.c~ 2009-11-08 > > 22:18:07.714444000
          > +0000
          > > > > >> ---
          > /home/jon/medev/bfs-v0.1.2/ucopy.c 2009-11-08 > > 22:19:37.927169000
          > +0000
          > > > > >> ***************
          > > > > >> *** 145,151 ****
          > > > > >> int
          > > > > >> bfs_fileappend (int options,
          > char *srcfile, char *destfile)> > > >> {
          > > > > >> ! int status;
          > > > > >> FILE *rfp;
          > > > > >> FILE *wfp;
          > > > > >>
          > > > > >> --- 145,151 ----
          > > > > >> int
          > > > > >> bfs_fileappend (int options,
          > char *srcfile, char *destfile)> > > >> {
          > > > > >> ! int status = 0;
          > > > > >> FILE *rfp;
          > > > > >> FILE *wfp;
          > > > > >>
          > > > > >> [EXIT 1]
          > > > > >>
          > > > > >> Jon.
          > > > > >>
          > > > > >
          > > > > >
          > > > > >
          > > > > >
          > > > > >
          > ------------------------------------> > > >
          > > > > >
          > __________________________________________________________> > > >
          > > > > > This is an unmoderated list, but
          > new members are moderated to > > ensure that there are no spam users.
          > JASSPA is not responsible for the > > content of
          > > > > > any material posted to this
          > list.> > > >
          > > > > > To un-subscribe, send a mail
          > message to> > > >
          > > > > > jasspa-unsubscribe@yahoogroups.com > >
          > <mailto:jasspa-unsubscribe%40yahoogroups.com>> > > >
          > > > > > or visit http://groups.yahoo.com/group/jasspa > >
          > > > > > <http://groups.yahoo.com/group/jasspa>
          > and> > > > modify your account settings
          > manually.> > > >
          > > > > >
          > > > > > Yahoo! Groups Links
          > > > > >
          > > > > >
          > > > > >
          > > > > >
          > > > >
          > > >
          > > >
          > >
          >
          >
          >
          >
          > ------------------------------------
          >
          > ______________________________________________________________________
          > ____ This is an unmoderated list, but new members are moderated to
          > ensure that there are no spam users. JASSPA is not responsible for the

          > content of any material posted to this list.
          >
          > To un-subscribe, send a mail message to
          >
          > jasspa-unsubscribe@yahoogroups.com
          > or visit http://groups.yahoo.com/group/jasspa andmodify your account
          settings manually.
          >
          >
          > Yahoo! Groups Links
          >
          > Individual Email | Traditional
          >
          > jasspa-unsubscribe@yahoogroups.com
          >
          >
          ---- Message sent via KC WebMail - http://webmail.mistral.net/
        • azynheira
          Just some additional observerations: I can only make it work if I execute the binary (on Windows, please note) by using .exe postfix - This means that if I
          Message 4 of 10 , Nov 9, 2009
          • 0 Attachment
            Just some additional observerations:

            I can only make it work if I execute the binary (on Windows, please note) by using .exe postfix - This means that if I have a bundled ME called emacs.exe:
            1) Running emacs - DOES NOT WORK....
            2) Running emacs.exe - WORKS!!

            Just more 50 wierd cents!

            Pedro

            --- In jasspa@yahoogroups.com, "Gomes, Pedro (NSN - PT/Amadora)" <pedro.gomes@...> wrote:
            >
            > Hi,
            > Yes, after Steve's suggestion ITS ALIVE :-) ... (add mad laughter at
            > will :-))
            >
            > The archive is built correctly and the integrity is correct (by using
            > -t), and the .exe file produced does recognize the internal fs if I use
            > bfs://foobar ... It works correctly!
            >
            > Production log:
            > D:\ME\src\std2\bfs-v0.1.1>bfs -a mypath/mecw -o me ./jasspa
            > Copying "mypath/mecw" => "me"
            > Error: Cannot access file "mypath/mecw"
            > Copied "mypath/mecw" => "me" [fail]
            >
            > D:\ME\src\std2\bfs-v0.1.1>bfs -a ..\src\mew32.exe -o mex d:\ME\metree
            > Copying "..\src\mew32.exe" => "mex"
            > Copied "..\src\mew32.exe" => "mex" [ok]
            > Stripping archive and none attached "mex"
            > Building from directory "d:\ME\metree"
            > Archive commencing from byte offset 574976
            > Archive constructed 5369629 bytes
            > Completed archive build from "d:\ME\metree" [ok]
            >
            > Regards,
            > Pedro
            >
            > -----Original Message-----
            > From: ext Jon Green [mailto:jon@...]
            > Sent: Monday, November 09, 2009 12:24 PM
            > To: jasspa@yahoogroups.com; Gomes, Pedro (NSN - PT/Amadora)
            > Subject: Re: [jasspa] Re: New version of me-standalone
            >
            >
            > On Mon 09/11/09 12:15 PM , "azynheira" pedro.gomes@... sent:
            > > Hi All,
            > > Steve, you were right, some replacing of "r" => "rb"
            > > and it seems to be working as if should. The archive is correctly
            > > generated now ...
            > > Regards,
            > > Pedro
            >
            > Hi Pedro,
            >
            > You are the first on Windows.
            > Is it working now? Can you build an archive, add it and it runs file in
            > windows?
            >
            > Jon
            >
            > > --- In jasspa
            > > @yahoogroups.com, Steven Phillips <bill@> wrote:>
            > > > Initial thought is that the bfs program is not
            > > opening the files binary > (i.e. "r" instead of "rb"
            > > and "w" instead of "wb") - doesn't make a lot
            > > > of difference on unix but does on
            > > windows.>
            > > > Steve
            > > >
            > > > azynheira wrote:
            > > > >
            > > > >
            > > > > Hi Jon,
            > > > > I patched the makefile and some of the
            > > files and was able to produce a > > bfs.exe and mew32.exe files to try
            >
            > > it out in Win32. The results are > > the following:
            > > > >
            > > > > 1) No crashes as you predirected!
            > > :P> >
            > > > > 2) I have some problems creating archives
            > > (outut below). May be it as > > to be do with the endeanness of the
            > > thing ....> >
            > > > > I'll look into it...
            > > > >
            > > > > Regards,
            > > > > Pedro
            > > > > --- cut here ---
            > > > > D:\ME\src\std2\bfs-v0.1.1>bfs.exe -a
            > > d:\me\pedro.bfs d:\me\pt101224> > Stripping archive and none attached
            > > "d:\me\pedro.bfs"> > Building from directory "d:\me\pt101224"> >
            > > Archive commencing from byte offset
            > > 787040> > ERROR:
            > > "d:\me\pt101224/attic/Siemens.emf" size mismatch 98!=104> > ERROR:
            > > "d:\me\pt101224/lsdmengb.edf" size mismatch 342!=470142> > ERROR:
            > > "d:\me\pt101224/lsdmptpt.edf" size mismatch 16!=509950> > ERROR:
            > > "d:\me\pt101224/lsdxengb.edf" size mismatch 751!=508084> > ERROR:
            > > "d:\me\pt101224/old/default.emf" size mismatch 29!=30> > ERROR:
            > > "d:\me\pt101224/old/meemf.emf" size mismatch 83!=86> > ERROR:
            > > "d:\me\pt101224/old/pedro.zip" size mismatch 742!=223701> > Archive
            > > constructed 393520 bytes
            > > > > Completed archive build from
            > > "d:\me\pt101224" [ok]> > ---cut here --
            > > > >
            > > > > --- In jasspa
            > > @yahoogroups.com <mailto:jasspa%40yahoogroups.com>, Jon
            > > > > Green <jon@> wrote:
            > > > > >
            > > > > > azynheira wrote:
            > > > > > > Hi Jon,
            > > > > > > Looks nice, I'm giving it a try
            > > the next few days ... :P> > > >
            > > > > > > Do you mind if I do the Win32
            > > port of the stuff ?> > > >
            > > > > > > Regards,
            > > > > > > Pedro
            > > > > > >
            > > > > >
            > > > > > I think it all just about builds on
            > > Windows.> > >
            > > > > > I got a bfs.exe building under minGW
            > > with virtually no changes to > > the code last
            > > > > > night. I've not compiled a me32.exe
            > > yet but I think this should be > > fine,
            > > > > > possibly need to define
            > > fseeko=>fseek ad ftello=>ftell.> > >
            > > > > > Jon
            > > > > >
            > > > > >
            > > > > >
            > > > > >
            > > > > > > --- In jasspa
            > > @yahoogroups.com <mailto:jasspa%40yahoogroups.com>, > > Jon Green
            > <jon@> wrote:
            > > > > > >> Jon Green wrote:
            > > > > > >>> I have just posted a new
            > > version of me-standalone for some more > > alpha testing.
            > > > > > >>>
            > > > > > >>> This version is
            > > concatenated on the bottom of the executable > > using a command
            > > > > > >>> line utility called
            > > "bfs" as follows:> > > >>>
            > > > > > >>> To build a bfs archive
            > > then simply unpack the "metree" and > > remove things
            > > > > > >>> that you do not want in
            > > the archive:> > > >>>
            > > > > > >>> % tar zxvf
            > > jasspa-metree-20091017.tar.gz> > > >>> % rm -rf ./jasspa/pixmaps> > >
            > > >>>
            > > > > > >>> Build the archive and add
            > > to the executable from a directory:> > > >>>
            > > > > > >>> % bfs -a mypath/mecw -o
            > > me ./jasspa> > > >>>
            > > > > > >>> Append an already
            > > existing archive to the executable:> > > >>>
            > > > > > >>> % bfs -a mypath/mecw -o
            > > me jasspa-metree-20091117.bfs> > > >>>
            > > > > > >>> This should now be a
            > > stand alone executable. If you append again > > it will
            > > > > > >>> remove the old archive
            > > and add a new one. You can list the > > archive attached
            > > > > > >>> to the
            > > executable:> > > >>>
            > > > > > >>> % bfs -l me
            > > > > > >>>
            > > > > > >>> You can remove the
            > > archive attached to the executable:> > > >>>
            > > > > > >>> % bfs -s me
            > > > > > >>>
            > > > > > >>> You can extract the
            > > archive attached to the executable which > > will extract
            > > > > > >>> the directory tree in the
            > > archive to a new directory called > > "oldarch".
            > > > > > >>>
            > > > > > >>> % bfs -x oldarch
            > > me> > > >>>
            > > > > > >>> So you can now build your
            > > own attachable and then add to the > > bottom. If you do
            > > > > > >>> not attach then
            > > "me" runs as normal.> > > >>>
            > > > > > >>> The code is NOT ported to
            > > windows yet but should work for most > > versions of
            > > > > > >>> *NIX. I have only tested
            > > this on Linux and Solaris so far.> > > >>>
            > > > > > >>> The bfs on a 64-bit build
            > > is a bit funny, it allows:> > > >>>
            > > > > > >>> % bfs -a mypath/mecw -o
            > > me jasspa-metree-20091117.bfs> > > >>>
            > > > > > >>> but does not
            > > allow> > > >>>
            > > > > > >>> % bfs -a me
            > > jasspa-metree-20091117.bfs> > > >>>
            > > > > > >>> which it should do. That
            > > is the only issue I have found so far.> > > >>>
            > > > > > >>> Have fun!
            > > > > > >>>
            > > > > > >> Here is a fix for the amd64
            > > issue I highlighted above.> > > >>
            > > > > > >>
            > > > > > >> cd
            > > /home/jon/medev/bfs-v0.1.2/> > > >> gdiff --context --minimal
            > > --ignore-space-change --recursive> > > >>
            > > "/home/jon/medev/bfs-v0.1.2/ucopy.c~" > >
            > > "/home/jon/medev/bfs-v0.1.2/ucopy.c"> > > >>
            > > > > > >> ***
            > > /home/jon/medev/bfs-v0.1.2/ucopy.c~ 2009-11-08 > > 22:18:07.714444000
            > > +0000
            > > > > > >> ---
            > > /home/jon/medev/bfs-v0.1.2/ucopy.c 2009-11-08 > > 22:19:37.927169000
            > > +0000
            > > > > > >> ***************
            > > > > > >> *** 145,151 ****
            > > > > > >> int
            > > > > > >> bfs_fileappend (int options,
            > > char *srcfile, char *destfile)> > > >> {
            > > > > > >> ! int status;
            > > > > > >> FILE *rfp;
            > > > > > >> FILE *wfp;
            > > > > > >>
            > > > > > >> --- 145,151 ----
            > > > > > >> int
            > > > > > >> bfs_fileappend (int options,
            > > char *srcfile, char *destfile)> > > >> {
            > > > > > >> ! int status = 0;
            > > > > > >> FILE *rfp;
            > > > > > >> FILE *wfp;
            > > > > > >>
            > > > > > >> [EXIT 1]
            > > > > > >>
            > > > > > >> Jon.
            > > > > > >>
            > > > > > >
            > > > > > >
            > > > > > >
            > > > > > >
            > > > > > >
            > > ------------------------------------> > > >
            > > > > > >
            > > __________________________________________________________> > > >
            > > > > > > This is an unmoderated list, but
            > > new members are moderated to > > ensure that there are no spam users.
            > > JASSPA is not responsible for the > > content of
            > > > > > > any material posted to this
            > > list.> > > >
            > > > > > > To un-subscribe, send a mail
            > > message to> > > >
            > > > > > > jasspa-unsubscribe@yahoogroups.com > >
            > > <mailto:jasspa-unsubscribe%40yahoogroups.com>> > > >
            > > > > > > or visit http://groups.yahoo.com/group/jasspa > >
            > > > > > > <http://groups.yahoo.com/group/jasspa>
            > > and> > > > modify your account settings
            > > manually.> > > >
            > > > > > >
            > > > > > > Yahoo! Groups Links
            > > > > > >
            > > > > > >
            > > > > > >
            > > > > > >
            > > > > >
            > > > >
            > > > >
            > > >
            > >
            > >
            > >
            > >
            > > ------------------------------------
            > >
            > > ______________________________________________________________________
            > > ____ This is an unmoderated list, but new members are moderated to
            > > ensure that there are no spam users. JASSPA is not responsible for the
            >
            > > content of any material posted to this list.
            > >
            > > To un-subscribe, send a mail message to
            > >
            > > jasspa-unsubscribe@yahoogroups.com
            > > or visit http://groups.yahoo.com/group/jasspa andmodify your account
            > settings manually.
            > >
            > >
            > > Yahoo! Groups Links
            > >
            > > Individual Email | Traditional
            > >
            > > jasspa-unsubscribe@yahoogroups.com
            > >
            > >
            > ---- Message sent via KC WebMail - http://webmail.mistral.net/
            >
          Your message has been successfully submitted and would be delivered to recipients shortly.