[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: gwave: building on openSUSE, various comments



Hi Steve and all,

I've build gwave on openSUSE, here are some comments about it.

1. Dependancies
===============

The openSUSE distributions (10.3, 11.0, 11.1) all have a broken g-wrap 
package. The pkgconfig file is broken and I needed to rebuild g-wrap 
first. https://bugzilla.novell.com/show_bug.cgi?id=473233

Then I could build guile-gnome-platform. The first time I build it, the 
cairo and gtk support was missing. There was only a small message in 
the configure log that told, that cairo was missing.

I noticed that when I tried to build gwave2. Ok, then I build 
guile-cairo, rebuild guile-gnome-platform and finally gwave2.

Used versions:
  g-wrap 1.9.10
  guile-cairo 1.4.0
  guile-gnome-platform 2.16.1

Steve, can you please add guile-cairo to the dependancy list on the 
gwave homepage?

2. Compiling gwave
==================

Compiled out of the box, but there are some compiler warnings.
When building rpms the compiler warnings are treated as errors and the 
buildservice of openSUSE doesn't accept that package. This is only true 
for openSUSE 11.1.

The messages from the buildservice logs are:
---------
I: Program returns random data in a function
E: gwave2 no-return-in-nonvoid-function cmd.c:739
E: gwave2 no-return-in-nonvoid-function event.c:226, 206, 186
E: gwave2 no-return-in-nonvoid-function gtkmisc.c:325
E: gwave2 no-return-in-nonvoid-function wavelist.c:590
---------

The first three errors point to functions defined with SCM_DEFINE. They 
have no return statement in it.
I don't know what they should return. Maybe adding a "return 
SCM_UNSPECIFIED;" would fix the warning.

The last warning/error in wavelist.c is in the function 
wavelist_button_click. I think the function should not return anything 
and the function definition could be changed to 
  void wavelist_button_click( ..)

3. Using gwave
===============

At startup I get the following messages:
---------
WARNING: (gnome gtk): imported module (gnome gobject generics) overrides 
core binding `connect'
WARNING: (gnome gtk): `re-export-modules' imported from both (gnome 
gobject utils) and (gnome gw support modules)
WARNING: (gnome gw generics): imported module (gnome gobject generics) 
overrides core binding `connect'
WARNING: (gnome gtk): imported module (gnome gw gtk) overrides core 
binding `gtk-menu-popup'

(gwave:4843): GLib-GObject-WARNING **: invalid uninstantiatable type 
`(null)' in cast to `GtkTooltips'

(gwave:4843): GLib-GObject-WARNING **: invalid uninstantiatable type 
`(null)' in cast to `GtkTooltips'

(gwave:4843): Gtk-CRITICAL **: gtk_tooltips_set_tip: assertion 
`GTK_IS_TOOLTIPS (tooltips)' failed

[.... and more tooltips warnings]
--------

Let's hope the messages don't indicate any serious errors.


Loading a ngspice binary file works fine, but loading an ascii file 
doesn't work and throws the following error message:
---------
chose file(Datafile to 
load): "/home/werner/oss/python_spice/test/ac_ascii.raw"
[s3raw]: <<WARNING>> /home/werner/oss/python_spice/test/ac_ascii.raw:19: 
expected row number, got "". Note: only one dataset per file is 
supported, extra garbage ignored
---------

I guess gwave only supports binary spice data files, but not ascii 
files.
Ascii files are created by ngspice if you set the filetype to ascii in 
the simulation file.
"set filetype=ascii"


When loading a ngspice binary file with multiple plots, then only the 
first plot appears in the signal window. There's no error message about 
the dropped plots.

I think it's not really necessary to support ascii simulation files or 
multiple plots. It would just be nice to see a proper error message.


Finally I'm glad that I can use gwave again.

Thanks for your work, Steve.

Regards
Werner





_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user