Welcome, Guest. Please login or register.

Author Topic: duktape error NetSurf OS3  (Read 32931 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline wawrzon

Re: duktape error NetSurf OS3
« Reply #29 on: June 17, 2016, 04:25:54 PM »
Quote from: chris;810067
I didn't think that worked for 68k yet?

since this is devcpp, as i underatand, probably the default main host gcc there is actually 5.3.0. sounds likely at least. however amiga-m68k crosscompiler backend can very well be 3.4.x. i dont know what stuff is bundled with amikit, but id expect that if someone is up to the task to install a toolchain, he will be able to tell, what toolchain it is and how he got it installed ;)..

edit: for all interested, in the old thread i posted a link to a gcc4.5.0 68k crosscompiler for (ami)devcpp. in case of interest look for it on amiga.sf.
« Last Edit: June 17, 2016, 04:29:05 PM by wawrzon »
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #30 on: June 17, 2016, 04:43:18 PM »
Quote from: wawrzon;810071
since this is devcpp, as i underatand, probably the default main host gcc there is actually 5.3.0. sounds likely at least. however amiga-m68k crosscompiler backend can very well be 3.4.x. i dont know what stuff is bundled with amikit, but id expect that if someone is up to the task to install a toolchain, he will be able to tell, what toolchain it is and how he got it installed ;)..

Oh, dear, I don't know who you talk about ! :lol:

I installed the NetSurf toolchain : git://git.netsurf-browser.org/toolchains.git
I have to modify some files to make it compile ith cygwin, so I created a little shell script to correct them (as said here: http://wiki.netsurf-browser.org/Documentation/BuildingForAmigaOS)
Then, I crated a link between two folders to make autom4te2.64 available for the compilation
then make distclean, make... as said in the link before (for the toolchain).

To compile the whole NetSurf Program (toolchains + libraries + netsurf itself), I have some other updates to do. I'm in this step now ! ^^

I created a script to install everything automatically. If it works well (and if you are as nice as Care Bears or Unicorns ^^), maybe I'll give you the script.
 

Offline wawrzon

Re: duktape error NetSurf OS3
« Reply #31 on: June 17, 2016, 08:20:31 PM »
no offence meant! ;P
so, afair, its the toolchain that gets built by netsurf build system automatically?
i dont have devcpp installed at this time, nor am i building netsurf anywhere else currently, but maybe it would be helpful for others to see if your modifications to the scripts couldnt be incorporated, dependent on detecting cygwin as host.
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #32 on: June 17, 2016, 09:15:32 PM »
Quote from: wawrzon;810082
no offence meant! ;P

Don't worry ! ^^

Quote from: wawrzon;810082

so, afair, its the toolchain that gets built by netsurf build system automatically?

Yes, this is the toolchain used to compile NetSurf then (if I well understood what you said ^^)

Quote from: wawrzon;810082

i dont have devcpp installed at this time, nor am i building netsurf anywhere else currently, but maybe it would be helpful for others to see if your modifications to the scripts couldnt be incorporated, dependent on detecting cygwin as host.

OK, when I'll be sure everything works. I'm working on it.
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #33 on: June 20, 2016, 02:30:08 PM »
Sorry for the double post ! ^^'

I confirm I use gcc v.3.4.6 to compile for AmigaOS3 (the file is called m68k-unknown-amigaos-gcc-3.4.6.exe).
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #34 on: June 28, 2016, 03:31:21 PM »
Hi amiguys ! ^^

(Sorry for the triple post !)

My script is now available ! It is called NetScript and it is a script to compile automatically NetSurf for AmigaOS3 (Cross-compilation Windows using Cygwin - AmigaOS3). Here is the link if you want to try it : https://github.com/DNADNL/NetScript

Don't hesitate to tell me if something goes wrong, but if you read carefully the README, you shouldn't have any problems. ^^
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #35 on: June 28, 2016, 07:01:12 PM »
Could you relase exe for those who doesn't code?

It seems that you managed to fix ducktape errors? I checked your other files, does this use guigfx / render library? Is there any known problems?

https://github.com/DNADNL/guigfxlib
« Last Edit: June 28, 2016, 07:10:44 PM by utri007 »
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #36 on: June 28, 2016, 07:13:23 PM »
Quote from: utri007;810418
Could you relase exe to those who doesn't code?


Ok, I'm going to check if I can do it, but I'm not sure this can be possible, because you need first to install cygwin, and I don't know if I can manage this via an exe. If you have any tool to advise me... ^^
For the moment, there is a very-well-explained README to use if a non-coder person would like to give a try ! ^^

Quote from: utri007;810418

It seems that you managed to fix ducktape errors? I checked your other files, does this use guigfx / render library? Is there any known problems?

https://github.com/DNADNL/guigfxlib

Actually, I managed to compile NetSurf with DukTape, but not to launch it with. I'm trying to locate the DukTape problem.
I just uploaded the guigfxlib and the renderlib to my GitHub because it seems lha, lhasa, lhash, ... don't work with Cygwin. So I avoided the problem by modifying the NetSurf makefile to make it download those libraries via my GitHub.
 

Offline chris

Re: duktape error NetSurf OS3
« Reply #37 on: June 28, 2016, 07:48:20 PM »
Quote from: utri007;810418
Could you relase exe for those who doesn't code?


What would be the point?  If you don't code, you don't need this script.  Instead you need to download a pre-compiled version of NetSurf.

At some point the OS3 build will be added to Jenkins, at which time you'll get a new build every time something changes.  But we ought to fix the Duktape problem first.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #38 on: June 28, 2016, 08:42:45 PM »
Quote from: chris;810422
What would be the point?  If you don't code, you don't need this script.  Instead you need to download a pre-compiled version of NetSurf.


exe = executable = pre-compiled version

Quote
At some point the OS3 build will be added to Jenkins, at which time you'll get a new build every time something changes.  But we ought to fix the Duktape problem first.


Great news.
« Last Edit: June 29, 2016, 06:31:33 PM by utri007 »
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #39 on: June 30, 2016, 04:22:35 PM »
Hello everyone !

The new version of NetScript is available in my GitHub. It doesn't give an exe file but a tar archive containing all the files needed to install NetSurf on AmigaOS3.

Enjoy ! And as usual, if there is a problem, don't hesitate to tell me.
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #40 on: June 30, 2016, 06:38:06 PM »
Quote from: DNADNL;810458
Hello everyone !

The new version of NetScript is available in my GitHub. It doesn't give an exe file but a tar archive containing all the files needed to install NetSurf on AmigaOS3.

Enjoy ! And as usual, if there is a problem, don't hesitate to tell me.


Only thing needed to download  from github is    letsStart.sh  ?

It is executed with start NetScript commands?
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #41 on: June 30, 2016, 07:05:01 PM »
Quote from: utri007;810463
Only thing needed to download  from github is    letsStart.sh  ?
No, you need to download the whole master branch (so letsStart.sh, scriptFilesUpdate.sh and the scriptUpdate folder). I'll specify it on the README later to be clear.


Quote from: utri007;810463
It is executed with start NetScript commands?
What do you mean ? To execute NetScript, everything is explained in the README file, but maybe it isn't clear in it.
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #42 on: June 30, 2016, 07:45:24 PM »
Quote from: DNADNL;810464
No, you need to download the whole master branch (so letsStart.sh, scriptFilesUpdate.sh and the scriptUpdate folder). I'll specify it on the README later to be clear.


OK readme says rar archive, if I click download offers "Open in desktop" or "Download ZIP". So I wondered where to get rar archive.

Quote

What do you mean ? To execute NetScript, everything is explained in the README file, but maybe it isn't clear in it.


Readme says "3.Use this command to start NetScript : ./letsStart.sh ;". And "What does NetScript contains" doesn't mention  Netscript, so I thought it is Cywin shell command.
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD
 

Offline DNADNL

  • Jr. Member
  • **
  • Join Date: Jun 2016
  • Posts: 87
    • Show only replies by DNADNL
Re: duktape error NetSurf OS3
« Reply #43 on: June 30, 2016, 07:51:36 PM »
Quote from: utri007;810465
OK readme says rar archive, if I click download offers "Open in desktop" or "Download ZIP". So I wondered where to get rar archive.
i did a mistake in the README here, I wanted to talk about the ZIP archive. I'll correct it, thanks for your feedback !



Quote from: utri007;810465
Readme says "3.Use this command to start NetScript : ./letsStart.sh ;". And "What does NetScript contains" doesn't mention  Netscript, so I thought it is Cywin shell command.
NetScript is the name of the "software" containing letsStart ant the other files. But that's right, it can be misunderstood, so I'll correct this to rename letsStart in NetScript.

Thanks again for your feedback !  :)
 

Offline utri007

Re: duktape error NetSurf OS3
« Reply #44 from previous page: June 30, 2016, 09:32:37 PM »
Cygwin installer has now downloaded install packages some 6 hours. :(
« Last Edit: June 30, 2016, 09:36:17 PM by utri007 »
ACube Sam 440ep Flex 800mhz, 1gb ram and 240gb hd and OS4.1FE
A1200 Micronic tower, OS3.9, Apollo 060 66mhz, xPert Merlin, Delfina Lite and Micronic Scandy, 500Gb hd, 66mb ram, DVD-burner and WLAN.
A1200 desktop, OS3.9, Blizzard 060 66mhz, 66mb ram, Ide Fix Express with 160Gb HD and WLAN
A500 OS2.1, GVP+HD8 with 4mb ram, 1mb chip ram and 4gb HD
Commodore CDTV KS3.1, 1mb chip, 4mb fast ram and IDE HD