The time now is Sun 19 May 2013, 19:11
All times are UTC - 4 |
|
Page 6 of 36 [526 Posts] |
Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 34, 35, 36 Next |
| Author |
Message |
2lss
Joined: 20 Sep 2009 Posts: 225
|
Posted: Sat 13 Nov 2010, 02:09 Post subject:
|
|
Thanks Barry, I'm going to give this a try.
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6855 Location: Perth, Western Australia
|
Posted: Sat 13 Nov 2010, 06:11 Post subject:
|
|
| 2lss wrote: |
Thanks Barry, I'm going to give this a try. |
I have uploaded Wary 097, which has all the bacon goodies in it. I am having a sound problem, which I why I haven't formally announced 097 on my blog, and 098 will be uploaded soon. But 097 should be fine for BaCon development -- and most likely you won't even get the sound problem.
Get 097 from here:
http://distro.ibiblio.org/pub/linux/distributions/quirky/wary-097/
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6855 Location: Perth, Western Australia
|
Posted: Sat 13 Nov 2010, 06:14 Post subject:
|
|
Note, I think that some of the .bac include files are broken in Wary 097, /usr/local/BaCon -- I created them by opening the .bac.html files on the BaCon website and saving them as plain text -- but the files have lots of '*' characters everywhere.
Note that Wary 097 has a compiled /usr/bin/bacon compiler, so doesn't need Bash 4.x.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Sat 13 Nov 2010, 09:32 Post subject:
|
|
| Quote: | | Note, I think that some of the .bac include files are broken in Wary 097 |
Downloaded and setup 097 (sound worked on initial boot and then never again - no persistence)
ahem . . .
Downloaded and setup 097
then went to usr/share/BaCon
| Code: | # bacon c calculator.bac
Starting conversion... done.
Starting compilation... done.
Program 'calculator' ready. |
I have pork
| Code: | # ./calculator
-= BACON Calculator =-
1) Perform addition
2) Perform substraction
3) Perform multiplication
4) Perform division
5) Quit |
Sadly hug.bac, editor.bac
etc are broken as mentioned
| Code: | # bacon c glade.bac
Starting conversion... 28
ERROR: could not parse line 28 in file 'glade.bac'!
# bacon c editor.bac
Starting conversion... done.
Starting compilation... Compiler emits messages!
Problem:
file 'editor.bac' line 227: WRITELN "font ", ptr1 TO settings
Cause:
incompatible type for argument 1 of '__b2c__str' |
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
Ray MK

Joined: 05 Feb 2008 Posts: 669 Location: UK
|
Posted: Sat 13 Nov 2010, 09:45 Post subject:
|
|
Hi Barry
Just a note to say Wary 097 seems fine - all the basic's,
from a n00b viewpoint seem to work.
Woof woof at startup ok, nico edit seems fine, using it now.
Wired internet - good. Not tried wifi yet, or dialup.
Had to setup mouse tapping - no prob's.
(051 tapping worked auto-magically)
097 not quite so snappy as 051 -
(guessing thats because of extra drivers etc)
Manual frugal to sda1 ext3, 256mb ram,
Celeron 2.5Ghz proc, 700mb swap partition,
Acer Travelmate 243LC laptop. approx 8yrs old.
Very best regards and many thanks for all you do - Ray
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1229 Location: Ukraine
|
Posted: Sat 13 Nov 2010, 10:19 Post subject:
Lobster's woes |
|
Dear Lobster,
I am attaching the latest hug.bac and glade.bac as an archive. I know they work fine. Just unpack and replace your old files with these.
With kind regards,
vovchik
| Description |
|

Download |
| Filename |
hug-glade.tar.gz |
| Filesize |
12.63 KB |
| Downloaded |
165 Time(s) |
|
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 2420
|
Posted: Sat 13 Nov 2010, 13:27 Post subject:
|
|
I'm probably doing something wrong, but:
| Code: |
~/Downloads/bacon/cli-demos $ sudo bacon c mastermind.bac
Starting conversion... done.
Applying indentation... sh: indent: command not found
Unable to delete file: No such file or directory
|
I'm using Lucid 2.3.5, with GNU bash, version 4.1.0(1)-release (i686-pc-linux-gnu).
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1229 Location: Ukraine
|
Posted: Sat 13 Nov 2010, 13:53 Post subject:
indent binary |
|
Dear jpes,
Looks as if you are missing the indent binary (and who knows what else). In any case, here is the indent binary. Place it in /usr/bin and give it another try.
With kind regards,
vovchik
PS. And just run "bacon mastermind" for compilation of the source.
| Description |
|

Download |
| Filename |
indent.tar.gz |
| Filesize |
28.46 KB |
| Downloaded |
162 Time(s) |
|
|
Back to top
|
|
 |
NinerSevenTango
Joined: 17 Jun 2007 Posts: 186
|
Posted: Sat 13 Nov 2010, 14:58 Post subject:
|
|
Who dares to attempt to compile and run the gtk-server demo on the BaCon website?
Or the Glade example calculator.
--97T--
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1229 Location: Ukraine
|
Posted: Sat 13 Nov 2010, 15:28 Post subject:
gtk server demo |
|
Dear NinerSevenTango,
The program compiles fine and will work if you first install Peter's gtk-server (http://www.gtk-server.org/). Get the latest version and compile it. Make certain your /etc/gtk-server.cfg file corresponds to your version of gtk, otherwise you will have problems. Gtk-server is very picky about correspondences between the config file and the version of gtk you are running.
With kind regards,
vovchik
|
|
Back to top
|
|
 |
NinerSevenTango
Joined: 17 Jun 2007 Posts: 186
|
Posted: Sat 13 Nov 2010, 15:52 Post subject:
|
|
Thanks, vovchik.
I did download and install the latest version of gtk-server.
This is a full install of Quirky 1.3.
I installed it as a 'shared object', after installing FFCall.
There is no /etc/gtk-server.cfg. I found it at /usr/local/etc/gtk-server.cfg. Should I move it, reinstall with some different options, or add a path variable? Hmmmm.
Edit: The file lists a bunch of libraries. I could find them all except:
libgtkgl-2.0.so, libgtkglext-x11-1.0.so, libgdkglext-x11-1.0.so, libgtkembedmoz.so, libpoppler-glib.so
Now I'm wondering, if the program calling it can actually find it, will it bomb if these libraries are not present?
I appreciate your response, thanks again,
--97T--
|
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 2420
|
Posted: Sat 13 Nov 2010, 17:05 Post subject:
Re: indent binary |
|
| vovchik wrote: | Dear jpes,
Looks as if you are missing the indent binary (and who knows what else). In any case, here is the indent binary. Place it in /usr/bin and give it another try.
|
Thanks vovchik; working now, although "calc.bac" has strange way of adding: 20 + 35 = 2035
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1229 Location: Ukraine
|
Posted: Sat 13 Nov 2010, 17:57 Post subject:
|
|
Dear NinerSevenTango,
I seem to have all the libs you list installed and I also have a the .cfg file in your location, in addition to /etc. If I remove the .cfg file in /etc, then gtk-server refuses to run, so in my installation that is the correct location. I remember from my previous gtk-server experiments (quite a few), that the libs called for in the config file had to be on your system. I will look into this tomorrow, since I am trying to finish an urgent job....
With kind regards,
vovchik
|
|
Back to top
|
|
 |
NinerSevenTango
Joined: 17 Jun 2007 Posts: 186
|
Posted: Sat 13 Nov 2010, 18:37 Post subject:
|
|
Thanks, vovchik, I believe that's enough information to save me a bunch of time fixing it. I can hunt those libs down and install them.
Happy coding!
--97T--
|
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 2420
|
Posted: Sat 13 Nov 2010, 20:09 Post subject:
|
|
Math '+' function in calc.bac needs () to add.
PRINT (f+g)
|
|
Back to top
|
|
 |
|
|
Page 6 of 36 [526 Posts] |
Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 34, 35, 36 Next |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|