The time now is Sat 25 May 2013, 20:13
All times are UTC - 4 |
|
Page 13 of 35 [514 Posts] |
Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14, 15, ..., 33, 34, 35 Next |
| Author |
Message |
gpnet
Joined: 09 May 2009 Posts: 51 Location: Ivrea ,Italy
|
Posted: Tue 19 May 2009, 18:10 Post subject:
|
|
Thanks Mark.
Unfortunately I have a full HD install. Ok , with a little patience and luck I try to compile packages.
Let me know one thing. When I launch ./configure the gtk+-2.16.1 i got this warning :
Requested 'glib-2.0 >= 2.19.7 but version of Glib is 2.14.2
Requested 'Pango >= 1.20 but version of 'Pango is 1.18.3
Requested 'cairo >= 1.6 but version of Glib is 1.5.12
I checked in my /usr/lib for libglib version and I found 2 version :
1. libglib-2.0.so.0.1400.2 2009/05/11 16.10.51
2. libglib-2.0.so.0.2000.1 2009/05/11 17.57.40
I remembered I have already installed a new version of glib and I thought the system replaced the newer over the older.
How can set things right so that the system see only the x.2000.1 lib
before to proceed ?
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 19 May 2009, 18:15 Post subject:
|
|
I think you installed a PET.
I think, it might just include the "runtime" (shared object) files, like /usr/lib/*.so.
But to compile, you also need the *.la or *.a files, and an entry for pkgconfig in /usr/lib/pkgconfig/. And the headers in /usr/include/.
This means, you also must install the DEV.pet of that Glib if available, or compile it yourself, to get those files.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
gpnet
Joined: 09 May 2009 Posts: 51 Location: Ivrea ,Italy
|
Posted: Tue 19 May 2009, 19:14 Post subject:
|
|
The road now seems to climb a little. tomorrow I will think with a little calm.
Thanks Mark.
Gute nacht.
|
|
Back to top
|
|
 |
gposil

Joined: 06 Apr 2009 Posts: 1305 Location: Stanthorpe (The Granite Belt), QLD, Australia
|
Posted: Wed 20 May 2009, 02:27 Post subject:
|
|
Thought i'd see what all the fuss was about with vala/genie so installed all Mark's files and this is what I get when I try to compile HelloWorld.gs
| Quote: | | In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:23, from /usr/include/gtk-2.0/gdk/gdk.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:31, from /root/Test/main.vala.c:4: /usr/include/gtk-2.0/gdk/gdkcolor.h:30:19: error: cairo.h: No such file or directory In file included from /usr/include/gtk-2.0/gdk/gdkcolor.h:31, from /usr/include/gtk-2.0/gdk/gdkcairo.h:23, from /usr/include/gtk-2.0/gdk/gdk.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:31, from /root/Test/main.vala.c:4: /usr/include/gtk-2.0/gdk/gdktypes.h:51:23: error: gdkconfig.h: No such file or directory In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:25, from /usr/include/gtk-2.0/gdk/gdk.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:31, from /root/Test/main.vala.c:4: /usr/include/pango-1.0/pango/pangocairo.h:60: error: expected ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:71: error: expected ')' before 'fonttype' /usr/include/pango-1.0/pango/pangocairo.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pango_cairo_font_map_get_font_type' /usr/include/pango-1.0/pango/pangocairo.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:89: error: expected ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:93: error: expected ';', ',' or ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:101: error: expected declaration specifiers or '...' before 'PangoCairoShapeRendererFunc' /usr/include/pango-1.0/pango/pangocairo.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pango_cairo_context_get_shape_renderer' /usr/include/pango-1.0/pango/pangocairo.h:109: error: expected ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:110: error: expected ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:116: error: expected ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:119: error: expected ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:121: error: expected ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:124: error: expected ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:133: error: expected ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:136: error: expected ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:138: error: expected ')' before '*' token /usr/include/pango-1.0/pango/pangocairo.h:141: error: expected ')' before '*' token In file included from /usr/include/gtk-2.0/gdk/gdk.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:31, from /root/Test/main.vala.c:4: /usr/include/gtk-2.0/gdk/gdkcairo.h:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/gtk-2.0/gdk/gdkcairo.h:31: error: expected ')' before '*' token /usr/include/gtk-2.0/gdk/gdkcairo.h:33: error: expected ')' before '*' token /usr/include/gtk-2.0/gdk/gdkcairo.h:37: error: expected ')' before '*' token /usr/include/gtk-2.0/gdk/gdkcairo.h:42: error: expected ')' before '*' token /usr/include/gtk-2.0/gdk/gdkcairo.h:44: error: expected ')' before '*' token In file included from /usr/include/gtk-2.0/gdk/gdk.h:35, from /usr/include/gtk-2.0/gtk/gtk.h:31, from /root/Test/main.vala.c:4: /usr/include/gtk-2.0/gdk/gdkdrawable.h:196: error: expected specifier-qualifier-list before 'cairo_surface_t' In file included from /usr/include/gtk-2.0/gdk/gdk.h:50, from /usr/include/gtk-2.0/gtk/gtk.h:31, from /root/Test/main.vala.c:4: /usr/include/gtk-2.0/gdk/gdkscreen.h:51: error: expected specifier-qualifier-list before 'cairo_font_options_t' /usr/include/gtk-2.0/gdk/gdkscreen.h:107: error: expected ';', ',' or ')' before '*' token /usr/include/gtk-2.0/gdk/gdkscreen.h:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token In file included from /usr/include/gtk-2.0/gtk/gtkprintoperation.h:31, from /usr/include/gtk-2.0/gtk/gtk.h:137, from /root/Test/main.vala.c:4: /usr/include/gtk-2.0/gtk/gtkprintcontext.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/gtk-2.0/gtk/gtkprintcontext.h:56: error: expected declaration specifiers or '...' before 'cairo_t' error: cc exited with status 256 Process return 256 execution time: 3.28318 s |
Any clues
_________________
Dpup Home
|
|
Back to top
|
|
 |
gpnet
Joined: 09 May 2009 Posts: 51 Location: Ivrea ,Italy
|
Posted: Wed 20 May 2009, 05:36 Post subject:
|
|
Hi MU,
I thought about the situation.
let's go back one step. I am very motivated to work with puppy as a developer. ( that is my job).
I don't think I would like to learn script language. I must be as productive as possible and so this brings me to a couple of languages ( c# or vala/genie).
Probably I am early with the new releases of puppy in order to a new developer environment rightly set up.
So Now. I have 2 choises:
1. Stop and wait the next release of puppy where I should find the new developer environment.
2. Ask Your help ( I mean the puppy team ) to align the current dev-env to the required evn to work with c# or vala/genie
In the second case I have to consider for update/upgrade procedure. I mean what would be the procedure to update/upgrade from current release to the next, considering that I have a full HD install.
If is there a procedure that automatically update all the system from the current to the next release, all is Ok.
If Puppy consider the new release a stand alone release and I have to move by myself all my work and tweekings, than I have to wait.
Any suggestion is welcome.
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Wed 20 May 2009, 11:34 Post subject:
|
|
make sure you compile like so
| Code: | | #valac --pkg=gtk+-2.0 hw.gs |
make sure you are running Puppy with gtk installed
Puppy 4.2.1 seems to have this
Which Puppy are you using?
make sure you have devx and use boot manager to load when you boot
hope that helps
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
tasmod

Joined: 04 Dec 2008 Posts: 1459 Location: North Lincolnshire. UK
|
Posted: Wed 20 May 2009, 15:54 Post subject:
|
|
Hi Guys,
Just checking in. I've been following this thread and been experimenting with the Glade interface in puppy.
I also loaded Glade 2 and compiled a small app, at this point very pleased with myself. (Trying to learn C++)
I then downloaded the valide vala etc and had a very flaky system thereafter. This on Puppy421. Lots of apps just shutdown when scroll bars clicked on etc.
I've uninstalled everything but there must have been an interaction somewhere. I've lost the right click, open with Geany. the links and program are there it's just that Rox will not open it.
Geanie looks very interesting but as you say there is scant documentation.
It would probably suit me better as i programmed in Visual Basic when it first came out. That was when it used 'basic' basic syntax.
I'll keep watching, keep up the good work.
_________________ Rob
-
The moment after you press "Post" is the moment you actually see the typso 
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6866 Location: Perth, Western Australia
|
Posted: Wed 20 May 2009, 22:05 Post subject:
|
|
| gpnet wrote: | Hi MU,
I thought about the situation.
let's go back one step. I am very motivated to work with puppy as a developer. ( that is my job).
I don't think I would like to learn script language. I must be as productive as possible and so this brings me to a couple of languages ( c# or vala/genie).
Probably I am early with the new releases of puppy in order to a new developer environment rightly set up.
So Now. I have 2 choises:
1. Stop and wait the next release of puppy where I should find the new developer environment.
2. Ask Your help ( I mean the puppy team ) to align the current dev-env to the required evn to work with c# or vala/genie
In the second case I have to consider for update/upgrade procedure. I mean what would be the procedure to update/upgrade from current release to the next, considering that I have a full HD install.
If is there a procedure that automatically update all the system from the current to the next release, all is Ok.
If Puppy consider the new release a stand alone release and I have to move by myself all my work and tweekings, than I have to wait.
Any suggestion is welcome. |
Well, you could just run the latest Woof-build, alpha8 or the next alpha9 off the live-CD. The 'devx' is available and it has everything for Vala/Genie ready to go.
Later on you could install to hd, updating the current installation -- probably when I get it to a late beta or final would be best.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
gposil

Joined: 06 Apr 2009 Posts: 1305 Location: Stanthorpe (The Granite Belt), QLD, Australia
|
Posted: Thu 21 May 2009, 00:23 Post subject:
|
|
Lobster
Running full hdd install 4.1.2 with every conceivable compiler known to man and dog...checked further vala will not run with same versions of cairo and pango as my other dev software...Qt4, Lazarus/FPC and Mono so i'll give it a miss until I get around to isolating vala libraries from system.
_________________
Dpup Home
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Thu 21 May 2009, 01:02 Post subject:
|
|
| Quote: | | every conceivable compiler known to man and dog |
That is a lot of work . . .
My clues are not the best. This is in cutting edge for a reason. Maybe if MU has some time he will offer better clues . . .
Not being able to get a basic program working from the command line IS frustrating - it happened to me and it turned out there was a bug in Genie which got fed back to the Developers by Barry.
Barry has made a great choice with Vala support and MU is already providing usable Genie examples with his treeview, browser and pic viewer etc.
Thanks for having a look and better luck next time
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: Thu 21 May 2009, 02:36 Post subject:
|
|
Hello gposil,
I 'd look at Barry's suggestion to "gpnet". It makes sense and running live is always faster provided you have half decent hardware. Its only about 180M download including dev_x .
Just my 2c
Cheers.
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
gposil

Joined: 06 Apr 2009 Posts: 1305 Location: Stanthorpe (The Granite Belt), QLD, Australia
|
Posted: Thu 21 May 2009, 02:50 Post subject:
|
|
Thanks Mick...why didn't I think of that.... ...and yes the old dog learns new tricks
_________________
Dpup Home
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: Thu 21 May 2009, 03:15 Post subject:
|
|
haha! Good on you!
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
gpnet
Joined: 09 May 2009 Posts: 51 Location: Ivrea ,Italy
|
Posted: Thu 21 May 2009, 06:36 Post subject:
|
|
Hi Barry,
Thanks for replay,
Ok, I think should be better to get the beta live CD. Do you have already a plan for that ?
Let me know.
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: Fri 22 May 2009, 08:58 Post subject:
|
|
Hey folks,
Well I've been searching and searching for some Genie info around the web and it seems all the info is either here, on puppylinux.com or gnome.org. That's it.
One thing, my compiler is fine! That's a start...
I only know a little bash and gtkdialog, (enough to get me by ) and really want to know the best thing to do to give me a leg up (helping hand ) to learn Genie. Maybe take a long look at python?
I really want to learn this stuff. It is exciting!
I may reiterate this post on the LinuxQuestions.org forum in the programming section. It may attract some positive attention, and may even spread the word, and not only about Genie, Puppy too.
I have a small project in mind and have started on it, but, it may take me some time.
Thanks and Cheers.
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
|
|
Page 13 of 35 [514 Posts] |
Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14, 15, ..., 33, 34, 35 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
|