[squeak-dev] Squeak in FreeBSD

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Squeak in FreeBSD

Eliot Miranda-2
 

Hi Tobias,


> On Mar 28, 2020, at 4:48 AM, Tobias Pape <[hidden email]> wrote:
>
> Hi Edwin
>
>>> On 28.03.2020, at 01:19, Edwin Ancaer <[hidden email]> wrote:
>>
>> Ok, it says it should build out of the box, so I cloned the git repository for the opensmalltalk-vm.
>>
>> TheHowToBuild says:
>>                Then cd to the build directory of your choice, e.g.
>>                                build.linux64x64/squeak.cog.spur/build
>>                Then execute ./mvm
>>
>> This is what I did (I took the stack vm because I thought this was the easiest to build);
>> cd build.linux64x64/squeak.stack.spur/build
>> $ ./mvm
>> platforms/Cross/vm/sqSCCSVersion.h not up-to-date.
>> You must run ../../../scripts/updateSCCSVersions
>> $ cd ../../../scripts
>> $ cd ..
>> $ cd build.linux64x64/squeak.stack.spur/build
>> $ ../../../scripts/updateSCCSVersions
>> fatal: platforms/Cross/plugins/sqPluginsSCCSVersion.h: no such path in the working tree.
>> Use 'git <command> -- <path>...' to specify paths that do not exist locally.
>>
>> If asking these questions shows my knowledge is not at the right level,no problem, just tell me. It will save my and your time.
>> I always have Windows as an alternative. :-(
>
> You need to run this script in the root of the checkout. Sorry that this is not made more clear.

Yesterday I got bit by this when doing an MSVC compile of the Terf VM.  So I fixed it for the windows and Mac makefiles (well, almost; Nicolas corrected a slip I made with the mingw/Cygwin windows makefiles).

The fix is simply to search for the unexpanded version string whenever extracting stings from sqSCCSVersion.h.  Will anyone volunteer to make similar changes to the Unix makefiles?  To the plugin builds?

>
> Best regards
>   -tobias
>
>
>>
>>
>> Op vr 27 mrt. 2020 om 17:27 schreef gettimothy via Squeak-dev <[hidden email]>:
>> I am not sure how it turned out, but there was a long thread on this back last July
>>
>> http://forum.world.st/OpenSmalltalk-opensmalltalk-vm-Support-for-OpenBSD-413-tt5101741.html#a5101745
>>
>>
>> ---- On Fri, 27 Mar 2020 12:22:07 -0400 Edwin Ancaer <[hidden email]> wrote ----
>>
>> Hello,
>>
>> has anybody succesfully build a usable recent Squeak in FreeBSD?
>>
>> The only links I found reported a successful build, but errors when running the image.
>>
>> There is a port for FreeBSD, but that is building version 4.10.
>>
>> Thanks,