Issues: Trying to build the RS vm with the mvm script...

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

Issues: Trying to build the RS vm with the mvm script...

Robert Withers-2
 

I am trying to build the vm with RS external plugins I generated. I am getting some pushback:

[hidden email] ./mvm
clean? y
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/home/rabbit/vm-dev/opensmalltalk-vm/build.linux64x64/squeak.cog.spur/build':
configure: error: C compiler cannot create executables
See `config.log' for more details

How could I resolve this issue? I have the latest gcc, I think:

[hidden email] gcc --version
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

I appreciate!

--
---
Kindly,
Robert


Reply | Threaded
Open this post in threaded view
|

Re: Issues: Trying to build the RS vm with the mvm script...

Levente Uzonyi
 
The VM uses clang instead of gcc. So, you need to install clang.


Levente
Reply | Threaded
Open this post in threaded view
|

Re: Issues: Trying to build the RS vm with the mvm script...

Robert Withers-2
 
Awesome, let me try it!

---
Kindly,
Robert


On 5/27/21 2:04 PM, Levente Uzonyi wrote:
> The VM uses clang instead of gcc. So, you need to install clang.
>
>
> Levente

Reply | Threaded
Open this post in threaded view
|

Re: Issues: Trying to build the RS vm with the mvm script...

Tobias Pape
In reply to this post by Levente Uzonyi
 
Also, try the
        https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/fix_include_order
branch for the time being.

Best regards
        -tobias

> On 27. May 2021, at 20:04, Levente Uzonyi <[hidden email]> wrote:
>
> The VM uses clang instead of gcc. So, you need to install clang.
>
>
> Levente


Reply | Threaded
Open this post in threaded view
|

Re: Issues: Trying to build the RS vm with the mvm script...

Robert Withers-2
 

I tried and got a conflicts error. Unsure how to proceed.

rabbit@ganymede:~/vm-dev/opensmalltalk-vm$ git pull origin fix_include_order
From https://github.com/OpenSmalltalk/opensmalltalk-vm
 * branch                fix_include_order -> FETCH_HEAD
Auto-merging stacksrc/vm/interp.c
CONFLICT (content): Merge conflict in stacksrc/vm/interp.c
...
Auto-merging spur64src/vm/cointerp.c
CONFLICT (content): Merge conflict in spur64src/vm/cointerp.c
Automatic merge failed; fix conflicts and then commit the result.

---
Kindly,
Robert


On 5/27/21 2:12 PM, Tobias Pape wrote:
Also, try the
	https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/fix_include_order
branch for the time being.

Best regards
	-tobias

On 27. May 2021, at 20:04, Levente Uzonyi [hidden email] wrote:

The VM uses clang instead of gcc. So, you need to install clang.


Levente

Reply | Threaded
Open this post in threaded view
|

Re: Issues: Trying to build the RS vm with the mvm script...

Tobias Pape
 
Hi


> On 27. May 2021, at 20:34, Robert Withers <[hidden email]> wrote:
>
> I tried and got a conflicts error. Unsure how to proceed.
> rabbit@ganymede:~/vm-dev/opensmalltalk-vm$ git pull origin fix_include_order
> From https://github.com/OpenSmalltalk/opensmalltalk-vm
>  * branch                fix_include_order -> FETCH_HEAD
> Auto-merging stacksrc/vm/interp.c
> CONFLICT (content): Merge conflict in stacksrc/vm/interp.c
> ...
> Auto-merging spur64src/vm/cointerp.c
> CONFLICT (content): Merge conflict in spur64src/vm/cointerp.c
> Automatic merge failed; fix conflicts and then commit the result.

Darn, that branch has to be updated -.-
Nicolas might have an idea tho…

Best regards
        -tobias
       

> ---
> Kindly,
> Robert
>
>
> On 5/27/21 2:12 PM, Tobias Pape wrote:
>> Also, try the
>>
>> https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/fix_include_order
>>
>> branch for the time being.
>>
>> Best regards
>> -tobias
>>
>>
>>> On 27. May 2021, at 20:04, Levente Uzonyi <[hidden email]>
>>>  wrote:
>>>
>>> The VM uses clang instead of gcc. So, you need to install clang.
>>>
>>>
>>> Levente
>>>
>>


Reply | Threaded
Open this post in threaded view
|

Re: Issues: Trying to build the RS vm with the mvm script...

Robert Withers-2
 
On 5/27/21 2:43 PM, Tobias Pape wrote:
> Darn, that branch has to be updated -.-
> Nicolas might have an idea tho…

Hi Tobias,

Alright, I will wait for your update, then.

---
Kindly,
Robert



Reply | Threaded
Open this post in threaded view
|

Re: Issues: Trying to build the RS vm with the mvm script...

Bruce O'Neel-2
In reply to this post by Levente Uzonyi
 
Hi,

Or edit the clang to cc in mvm.

cheers
bruce

TARGET_ARCH="-m64" \

CC=clang \

CFLAGS="$CFLAGS" \


On 2021-05-27T20:04:41.000+02:00, Levente Uzonyi <[hidden email]> wrote:
The VM uses clang instead of gcc. So, you need to install clang.


Levente
Reply | Threaded
Open this post in threaded view
|

Re: Issues: Trying to build the RS vm with the mvm script...

timrowledge
 


> On 2021-05-27, at 10:55 PM, Bruce O'Neel <[hidden email]> wrote:
>
> Hi,
>
> Or edit the clang to cc in mvm.
>
> cheers
> bruce
>
> TARGET_ARCH="-m64" \
>
> CC=clang \
>
> CFLAGS="$CFLAGS" \

+1 for this. If we expect a tool it is helpful to make it obvious that we need the tool, rather than obscuring the need

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful Latin Phrases:- Estne volumen in toga, an solum tibi libet me videre?
= Is that a scroll in your toga, or are you just happy to see me?


Reply | Threaded
Open this post in threaded view
|

Re: Issues: Trying to build the RS vm with the mvm script...

Robert Withers-2
In reply to this post by Tobias Pape
 
Hi Tobias,

Any progress on updating the fix_include_order branch? I have poked
around with git and my local repo is all messed up with conflicts. I do
not know how to dump all those merge attempts and be back at the HEAD of
Cog. But also, you stated I need the fix_include_order branch to build
on Linux. I want to build my plugins and test them!

---
Kindly,
Robert


On 5/27/21 2:43 PM, Tobias Pape wrote:

> Hi
>
>
>> On 27. May 2021, at 20:34, Robert Withers <[hidden email]> wrote:
>>
>> I tried and got a conflicts error. Unsure how to proceed.
>> rabbit@ganymede:~/vm-dev/opensmalltalk-vm$ git pull origin fix_include_order
>>  From https://github.com/OpenSmalltalk/opensmalltalk-vm
>>   * branch                fix_include_order -> FETCH_HEAD
>> Auto-merging stacksrc/vm/interp.c
>> CONFLICT (content): Merge conflict in stacksrc/vm/interp.c
>> ...
>> Auto-merging spur64src/vm/cointerp.c
>> CONFLICT (content): Merge conflict in spur64src/vm/cointerp.c
>> Automatic merge failed; fix conflicts and then commit the result.
> Darn, that branch has to be updated -.-
> Nicolas might have an idea tho…
>
> Best regards
> -tobias
>
>
>> ---
>> Kindly,
>> Robert
>>
>>
>> On 5/27/21 2:12 PM, Tobias Pape wrote:
>>> Also, try the
>>>
>>> https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/fix_include_order
>>>
>>> branch for the time being.
>>>
>>> Best regards
>>> -tobias
>>>
>>>
>>>> On 27. May 2021, at 20:04, Levente Uzonyi <[hidden email]>
>>>>   wrote:
>>>>
>>>> The VM uses clang instead of gcc. So, you need to install clang.
>>>>
>>>>
>>>> Levente
>>>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Issues: Trying to build the RS vm with the mvm script...

Tobias Pape
 


> On 29. May 2021, at 17:20, Robert Withers <[hidden email]> wrote:
>
> Hi Tobias,
>
> Any progress on updating the fix_include_order branch? I have poked
> around with git and my local repo is all messed up with conflicts. I do
> not know how to dump all those merge attempts and be back at the HEAD of
> Cog. But also, you stated I need the fix_include_order branch to build
> on Linux. I want to build my plugins and test them!
>

Sorry, nothing much I can do :(
-t

> ---
> Kindly,
> Robert
>
>
> On 5/27/21 2:43 PM, Tobias Pape wrote:
>> Hi
>>
>>
>>> On 27. May 2021, at 20:34, Robert Withers <[hidden email]> wrote:
>>>
>>> I tried and got a conflicts error. Unsure how to proceed.
>>> rabbit@ganymede:~/vm-dev/opensmalltalk-vm$ git pull origin fix_include_order
>>> From https://github.com/OpenSmalltalk/opensmalltalk-vm
>>>  * branch                fix_include_order -> FETCH_HEAD
>>> Auto-merging stacksrc/vm/interp.c
>>> CONFLICT (content): Merge conflict in stacksrc/vm/interp.c
>>> ...
>>> Auto-merging spur64src/vm/cointerp.c
>>> CONFLICT (content): Merge conflict in spur64src/vm/cointerp.c
>>> Automatic merge failed; fix conflicts and then commit the result.
>> Darn, that branch has to be updated -.-
>> Nicolas might have an idea tho…
>>
>> Best regards
>> -tobias
>>
>>
>>> ---
>>> Kindly,
>>> Robert
>>>
>>>
>>> On 5/27/21 2:12 PM, Tobias Pape wrote:
>>>> Also, try the
>>>>
>>>> https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/fix_include_order
>>>>
>>>> branch for the time being.
>>>>
>>>> Best regards
>>>> -tobias
>>>>
>>>>
>>>>> On 27. May 2021, at 20:04, Levente Uzonyi <[hidden email]>
>>>>>  wrote:
>>>>>
>>>>> The VM uses clang instead of gcc. So, you need to install clang.
>>>>>
>>>>>
>>>>> Levente
>>>>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Issues: Trying to build the RS vm with the mvm script...

Robert Withers-2
 

Alright, I was able to move forwards. I removed the opensmalltalk-vm tree with the Cog branch and then cloned the repo again with the fix_include_order branch specified:

rabbit@ganymede:~/vm-dev$ git clone -b fix_include_order https://github.com/OpenSmalltalk/opensmalltalk-vm.git

I was able to compile RSErasurePlugin, reporting with many errors. I will start a new thread,  on these issues.

---
Kindly,
Robert


On 5/29/21 11:23 AM, Tobias Pape wrote:

On 29. May 2021, at 17:20, Robert Withers [hidden email] wrote:

Hi Tobias,

Any progress on updating the fix_include_order branch? I have poked
around with git and my local repo is all messed up with conflicts. I do
not know how to dump all those merge attempts and be back at the HEAD of
Cog. But also, you stated I need the fix_include_order branch to build
on Linux. I want to build my plugins and test them!

Sorry, nothing much I can do :(
-t

---
Kindly,
Robert


On 5/27/21 2:43 PM, Tobias Pape wrote:
Hi


On 27. May 2021, at 20:34, Robert Withers [hidden email] wrote:

I tried and got a conflicts error. Unsure how to proceed.
rabbit@ganymede:~/vm-dev/opensmalltalk-vm$ git pull origin fix_include_order
From https://github.com/OpenSmalltalk/opensmalltalk-vm
 * branch                fix_include_order -> FETCH_HEAD
Auto-merging stacksrc/vm/interp.c
CONFLICT (content): Merge conflict in stacksrc/vm/interp.c
...
Auto-merging spur64src/vm/cointerp.c
CONFLICT (content): Merge conflict in spur64src/vm/cointerp.c
Automatic merge failed; fix conflicts and then commit the result.
Darn, that branch has to be updated -.-
Nicolas might have an idea tho…

Best regards
	-tobias


---
Kindly,
Robert


On 5/27/21 2:12 PM, Tobias Pape wrote:
Also, try the

https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/fix_include_order

branch for the time being.

Best regards
	-tobias


On 27. May 2021, at 20:04, Levente Uzonyi [hidden email]
 wrote:

The VM uses clang instead of gcc. So, you need to install clang.


Levente