[squeak-dev] Squeak 4.6 on 32-Bits FreeBSD 11.1
David T. Lewis
lewis at mail.msen.com
Wed May 23 00:17:51 UTC 2018
On Tue, May 22, 2018 at 09:23:37AM +0200, Edwin Ancaer wrote:
> Hi guys,
>
> Squeak is working now. There is no CameraPlugin, no UUIDPlugin and no ALSA.
Good to know, thank you for the followup.
>
> I still got this issue with the makefile:
>
Ugh, sorry about that. I am confused by the error you are seeing, so please
do let us know if you figure out where it is coming from.
Thanks,
Dave
>
> *[edwin at ottopedi ~/squeak/build]$ makemkdir build || true(cd build;
> ../../platforms/unix/cmake/configure --src=../../src "
> --without-vm-sound-ALSA --CFLAGS='-O2 -D_FILE_OFFSET_BITS=64'")unknown
> option: --without-vm-sound-ALSA --CFLAGS='-O2 -D_FILE_OFFSET_BITS=64'--
> Configuring squeak 4.16.5-3765 for i386-unknown-freebsd11.1-- Using source
> directory /usr/home/edwin/squeak/src*
> This looks like an error in resolving the parameters, because, when I
> execute the different steps manually, and correct the configure command as
> below, the script runs correctly.
>
>
> *cd build; ../../platforms/unix/cmake/configure --src=../../src
> --without-vm-sound-ALSA --CFLAGS='-O2 -D_FILE_OFFSET_BITS=64',*
>
> I will see if I can find out if this is due to some difference between
> FreeBSD and Linux to update the Makefile.
>
> Thanks,
>
> Edwin Ancaer
>
>
>
> 2018-05-20 19:34 GMT+02:00 Levente Uzonyi <leves at caesar.elte.hu>:
>
> > Hi Edwin,
> >
> > I suggest you should keep using the -g compiler flag. It causes negligible
> > slowdown, but without it debugging will be a lot harder.
> >
> > Levente
> >
> >
> > On Sun, 20 May 2018, Edwin Ancaer wrote:
> >
> > Dave,
> >>
> >> is it possible there is a problem in the CPARAM_FLAGS variable you passed.
> >>
> >> I get:
> >>
> >> (cd build; ../../platforms/unix/cmake/configure --src=../../src "
> >> --without-vm-sound-ALSA --CFLAGS='-O2 -D_FILE_OFFSET_BITS=64'")
> >> unknown option: --without-vm-sound-ALSA --CFLAGS='-O2
> >> -D_FILE_OFFSET_BITS=64'
> >> -- Configuring squeak 4.16.5-3765 for i386-unknown-freebsd11.1
> >> -- Using source directory /usr/home/edwin/squeak/src
> >> -- with CFLAGS =
> >> -- ARGS = -DOPT--src=/usr/home/edwin/squeak/src
> >> -- The C compiler identification is Clang 4.0.0
> >>
> >> This is an extract of the Makefile:
> >>
> >> # Assume platforms is ../platforms and src is ../src
> >>
> >> # CFLAGS setting to pass to cmake configure. If undefined, use compiler
> >> defaults.
> >> #CFLAGS_PARAM="--CFLAGS='-O2 -D_FILE_OFFSET_BITS=64'"
> >> #CFLAGS_PARAM="--CFLAGS='-O0 -g'"
> >> CFLAGS_PARAM=" --without-vm-sound-ALSA --CFLAGS='-O2
> >> -D_FILE_OFFSET_BITS=64'"
> >>
> >> squeakvm: build/squeakvm build64/squeakvm64
> >>
> >> build/squeakvm: build/CMakeCache.txt
> >> (cd build; make)
> >>
> >> Kind regards
> >>
> >> Edwin Ancaer
> >>
> >>
> >>
> >> 2018-05-19 17:25 GMT+02:00 David T. Lewis <lewis at mail.msen.com>:
> >> Hi Edwin,
> >>
> >> Let's try one more thing before we give up.
> >>
> >> Looking at that error message, I think you must be encountering
> >> this issue
> >> on FreeBSD:
> >>
> >> https://github.com/FluidSynth/fluidsynth/issues/133
> >>
> >> That explains the "duplicate case value" error you are seeing. It
> >> will
> >> affect only the ALSA vm plugin, so if ALSA sound is excluded from
> >> the build
> >> I expect the error will be gone. Please try the following:
> >>
> >> - Put SoundCodecPrims and SoundGenerationPlugin back into your
> >> plugins.int
> >> file. These were the the cause of the problem.
> >>
> >> - In your build/Makefile, find the line that defines CFLAGS_PARAM,
> >> and
> >> change it to this (leading space before the "--" is important, so
> >> copy
> >> this exactly):
> >>
> >> CFLAGS_PARAM=" --without-vm-sound-ALSA --CFLAGS='-O2
> >> -D_FILE_OFFSET_BITS=64'"
> >>
> >> - Do a "make clean" followed by "make".
> >>
> >> If this does not work, then let's move the question over to the
> >> vm-dev
> >> list, and ask "can anyone can help provide either a Cog or
> >> interpreter VM
> >> for V3 image on FreeBSD?" It is possible that someone may be
> >> running a Cog
> >> OpenSmalltalk VM on FreeBSD, and if so that might be a better way
> >> to get
> >> you running on FreeBSD.
> >>
> >> CC to the vm-dev list.
> >>
> >> Dave
> >>
> >>
> >> On Sat, May 19, 2018 at 06:06:43AM +0200, Edwin Ancaer wrote:
> >> > Hello,
> >> >
> >> > Squeak seems not to be made for FreeBSD.
> >> > I removed the cameraplugin and the UUIDplugin, but at 96 % of the
> >> build,
> >> > the error
> >> >
> >> > /home/edwin/squeak/platforms/unix/vm-sound-ALSA/sqUnixSoundA
> >> LSA.c:254:9:
> >> > error:
> >> > duplicate case value '-32'
> >> > case -ESTRPIPE: { /* stream suspended */
> >> > ^
> >> > popped up again.
> >> >
> >> > I tried to remove the sound plugins,SoundCodecPrims
> >> SoundGenerationPlugin
> >> > SoundPlugin but that did not help.
> >> >
> >> > I then removed the offending case statement (logically, I could
> >> just get
> >> > the wrong error message there).
> >> >
> >> > What I see is the squeak window opening, with a black rectangle
> >> in the
> >> > upper left corner, and then the coredump starts.
> >> >
> >> > I'm afraid for now, I reached the limits of my possibilities.
> >> I'll have to
> >> > choose, stay with FreeBSD and GNUstep, or back to Linux with
> >> Squeak....
> >> > perfection does not exist in this world. I will keep following
> >> the mail
> >> > list anyway, in case something pops up.
> >> >
> >> > Thanks anyway for the assistance.
> >> >
> >> > Edwin Ancaer
> >> >
> >> > 2018-05-19 1:47 GMT+02:00 David T. Lewis <lewis at mail.msen.com>:
> >> >
> >> > > Hi Edwin,
> >> > >
> >> > > Yes, it was a problem on the server, file system full as a
> >> result of some
> >> > > hacker attacks. I have enough enough server access to clear out
> >> some files
> >> > > from /tmp so I think it is working again now, although the
> >> problem is
> >> > > likely
> >> > > to come back. In any case, please give it another try and
> >> hopefully the
> >> > > error
> >> > > will to gone this time.
> >> > >
> >> > > Dave
> >> > >
> >> > > On Fri, May 18, 2018 at 11:07:53PM +0200, Edwin Ancaer wrote:
> >> > > > Hello,
> >> > > >
> >> > > > when trying to execute the command
> >> > > >
> >> > > > svn co http://squeakvm.org/svn/squeak/trunk/platforms
> >> > > >
> >> > > >
> >> > > > I get the answer
> >> > > >
> >> > > > svn: E020014: Can't find a temporary directory: Internal
> >> error.
> >> > > >
> >> > > > I seem to hve enough free space. Can there be a problem on
> >> the server
> >> > > again?
> >> > > >
> >> > > > Kind regards,
> >> > > >
> >> > > > 2018-05-18 5:37 GMT+02:00 Edwin Ancaer <eancaer at gmail.com>:
> >> > > >
> >> > > > > Tim,
> >> > > > >
> >> > > > > Thanks, the correspondence between the version numbers of
> >> vm, images
> >> > > and
> >> > > > > source files was not clear to me.
> >> > > > >
> >> > > > > However, the result remains the same: i get a coredump,
> >> with the same
> >> > > > > backtrace. Now there is a chance the changes I made to get
> >> the vm
> >> > > compiled
> >> > > > > might have something to do with it, so I will first rebuild
> >> the vm and
> >> > > > > exclude uuid and sound plugins, to see what I get then.
> >> > > > >
> >> > > > > Kind regards,
> >> > > > >
> >> > > > > Edwin Ancaer
> >> > > > >
> >> > > > >
> >> > > > >
> >> > > > > Op vr 18 mei 2018 04:23 schreef Tm Jhnsn <digit at sonic.net>:
> >> > > > >
> >> > > > >>
> >> > > > >> On May 16, 2018, at 11:47 PM, Edwin Ancaer wrote:
> >> > > > >>
> >> > > > >> Doing the same I now have a VM that could be working. I
> >> feel silly to
> >> > > > >> ask, but can you tell ,me where I find a suitable image
> >> file? On
> >> > > Windows
> >> > > > >> and Linux I always used the all-in-one package, so this
> >> problem never
> >> > > > >> occurred.
> >> > > > >>
> >> > > > >>
> >> > > > >> Hi Edwin,
> >> > > > >>
> >> > > > >> http://files.squeak.org/4.6/Squeak4.6-15102.zip should
> >> contain your
> >> > > > >> image.
> >> > > > >>
> >> > > > >> http://files.squeak.org/4.6/SqueakV46.sources.zip should
> >> contain your
> >> > > > >> sources file.
> >> > > > >>
> >> > > > >> Hope that helps,
> >> > > > >> Tim
> >> > > > >>
> >> > > > >>
> >> > > > >>
> >> > > > >>
> >> > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >>
> >> >
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
>
More information about the Squeak-dev
mailing list
|