Ok, here is the error trance beginning, from running make on stage (2.0.2). I still dont include everyting since its pretty long and I dont want to clutter peoples mailboxes. Hope it's enouth.

I noiced that the first error is about glib, " stage.h:47:63: error: glib.h: No such file or directory". libglib2.0-0 and libglib2.0-dev are installed, and the file glib.h are to be found in  /usr/include/glib-2.0/. I dont know if this relates to the true error, but I still dont understand why it doesn't find it.

Any directions are appreciated.

---------------------------------

sander@paks:~/Downloads/firefox/stage-2.0.2$ make
make  all-recursive
make[1]: Entering directory `/home/sander/Downloads/firefox/stage- 2.0.2'
Making all in replace
make[2]: Entering directory `/home/sander/Downloads/firefox/stage-2.0.2/replace'
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -MT dummy.o -MD -MP -MF ".deps/dummy.Tpo" -c -o dummy.o dummy.c; \
        then mv -f ".deps/dummy.Tpo" ".deps/dummy.Po"; else rm -f ".deps/dummy.Tpo"; exit 1; fi
rm -f libreplace.a
ar cru libreplace.a dummy.o
ranlib libreplace.a
make[2]: Leaving directory `/home/sander/Downloads/firefox/stage-2.0.2/replace'
Making all in src
make[2]: Entering directory `/home/sander/Downloads/firefox/stage-2.0.2/src'
Making all in referees
make[3]: Entering directory `/home/sander/Downloads/firefox/stage- 2.0.2/src/referees'
make[3]: Inget behöver göras för "all".
make[3]: Leaving directory `/home/sander/Downloads/firefox/stage-2.0.2/src/referees'
make[3]: Entering directory `/home/sander/Downloads/firefox/stage- 2.0.2/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..  -Wall -I. -I../replace    -Wall -I. -I../replace   -std=c99  -g -O2 -MT gnome.lo -MD -MP -MF ".deps/gnome.Tpo" -c -o gnome.lo gnome.c; \
        then mv -f ".deps/gnome.Tpo" ".deps/gnome.Plo"; else rm -f ".deps/gnome.Tpo"; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I. -I../replace -Wall -I. -I../replace -std=c99 -g -O2 -MT gnome.lo -MD -MP -MF .deps/gnome.Tpo -c gnome.c  -fPIC -DPIC -o .libs/gnome.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I. -I../replace -Wall -I. -I../replace -std=c99 -g -O2 -MT gnome.lo -MD -MP -MF .deps/gnome.Tpo -c gnome.c -o gnome.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..  -Wall -I. -I../replace    -Wall -I. -I../replace   -std=c99  -g -O2 -MT gui.lo -MD -MP -MF ".deps/gui.Tpo" -c -o gui.lo gui.c; \
        then mv -f ".deps/gui.Tpo" ".deps/gui.Plo"; else rm -f ".deps/gui.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I. -I../replace -Wall -I. -I../replace -std=c99 -g -O2 -MT gui.lo -MD -MP -MF .deps/gui.Tpo -c gui.c  -fPIC -DPIC -o .libs/gui.o
In file included from stage_internal.h:18,
                 from gui.c:14:
stage.h:47:63: error: glib.h: No such file or directory
In file included from stage_internal.h:18,
                 from gui.c:14:
stage.h:291: error: syntax error before 'GArray'
stage.h:291: warning: no semicolon at end of struct or union
stage.h:303: error: syntax error before '}' token
stage.h:303: warning: type defaults to 'int' in declaration of 'stg_polygon_t'
stage.h:303: warning: data definition has no type or storage class
stage.h:307: error: syntax error before '*' token
stage.h:307: warning: type defaults to 'int' in declaration of 'stg_polygons_create'
stage.h :307: warning: data definition has no type or storage class
stage.h:310: error: syntax error before '*' token
stage.h:313: error: syntax error before '*' token
stage.h:313: warning: type defaults to 'int' in declaration of 'stg_unit_polygon_create'
stage.h:313: warning: data definition has no type or storage class
stage.h:318: error: syntax error before '*' token
stage.h:321: error: syntax error before '*' token
stage.h:325: error: syntax error before '*' token
stage.h:329: error: syntax error before '*' token
stage.h:332: error: syntax error before '*' token
stage.h:338: error: syntax error before '*' token
stage.h:339: warning: type defaults to 'int' in declaration of 'stg_polygons_from_image_file'
stage.h:339: warning: data definition has no type or storage class
stage.h:552: error: syntax error before '*' token
stage.h:552: warning: type defaults to 'int' in declaration of 'stg_model_get_polygons'
stage.h :552: warning: data definition has no type or storage class
stage.h:554: error: syntax error before 'stg_polygon_t'
stage.h:651: error: syntax error before '*' token
stage.h:651: warning: type defaults to 'int' in declaration of 'stg_model_array_from_tree'
stage.h:651: warning: data definition has no type or storage class
stage.h:695: error: syntax error before 'gboolean'
stage.h:742: error: syntax error before 'GPtrArray'
stage.h:742: warning: no semicolon at end of struct or union
stage.h:743: warning: type defaults to 'int' in declaration of 'stg_energy_data_t'
stage.h:743: warning: data definition has no type or storage class
stage.h:865: error: syntax error before 'GSList'
stage.h:865: warning: no semicolon at end of struct or union
stage.h:870: error: syntax error before '}' token
stage.h:870: warning: type defaults to 'int' in declaration of 'stg_gripper_config_t'
stage.h:870: warning: data definition has no type or storage class
stage.h :1098: error: syntax error before '*' token
In file included from stage_internal.h:21,
                 from gui.c:14:
rtk.h:35:21: error: gtk/gtk.h: No such file or directory
In file included from stage_internal.h:21,
                 from gui.c:14:
rtk.h:150: error: syntax error before 'GtkWidget'
rtk.h:150: warning: no semicolon at end of struct or union
rtk.h:152: warning: type defaults to 'int' in declaration of 'bg_pixmap'
rtk.h:152: warning: type defaults to 'int' in declaration of 'fg_pixmap'
rtk.h:152: warning: data definition has no type or storage class
rtk.h:153: error: syntax error before '*' token
rtk.h:153: warning: type defaults to 'int' in declaration of 'gc'
rtk.h:153: warning: data definition has no type or storage class
rtk.h:154: error: syntax error before '*' token

...

gui.c:1044: error: dereferencing pointer to incomplete type
gui.c:1046: error: dereferencing pointer to incomplete type
gui.c: In function 'gui_model_polygons':
gui.c:1071: error: invalid operands to binary *
gui.c:1076: error: dereferencing pointer to incomplete type
gui.c:1077: error: 'polys' undeclared (first use in this function)
gui.c:1077: error: dereferencing pointer to incomplete type
gui.c:1082: error: dereferencing pointer to incomplete type
gui.c:1088: error: dereferencing pointer to incomplete type
gui.c:1113: error: dereferencing pointer to incomplete type
gui.c:1126: error: dereferencing pointer to incomplete type
gui.c:1132: error: dereferencing pointer to incomplete type
gui.c:1139: error: dereferencing pointer to incomplete type
gui.c: In function 'gui_model_mask':
gui.c:1153: error: invalid operands to binary *
gui.c:1156: error: dereferencing pointer to incomplete type
gui.c:1160: error: dereferencing pointer to incomplete type
gui.c: In function 'gui_model_grid':
gui.c:1173: error: 'grid' undeclared (first use in this function)
gui.c:1176: error: dereferencing pointer to incomplete type
make[3]: *** [gui.lo] Fel 1
make[3]: Leaving directory `/home/sander/Downloads/firefox/stage- 2.0.2/src'
make[2]: *** [all-recursive] Fel 1
make[2]: Leaving directory `/home/sander/Downloads/firefox/stage-2.0.2/src'
make[1]: *** [all-recursive] Fel 1
make[1]: Leaving directory `/home/sander/Downloads/firefox/stage- 2.0.2'
make: *** [all] Fel 2
sander@paks:~/Downloads/firefox/stage-2.0.2$

----------------------------------------------

Best regards /Erik

On 6/26/06, Toby Collett <tcollett+player@plan9.net.nz> wrote:
Will need to see the start of the build errors to know the cause...

Toby

Erik Billing wrote:
> I'm also trying to install PS on my Ubuntu (6.06) machene, but ran into
> a similar problem. I run ./configure without problems, but when I do
> make I get an error with a huge error trace, which ends like this: (I
> have installed libtool and a few other pakages that was needed).
>
>
> gui.c:1044: error: dereferencing pointer to incomplete type
> gui.c:1046: error: dereferencing pointer to incomplete type
> gui.c: In function 'gui_model_polygons':
> gui.c :1071: error: invalid operands to binary *
> gui.c:1076: error: dereferencing pointer to incomplete type
> gui.c:1077: error: 'polys' undeclared (first use in this function)
> gui.c:1077: error: dereferencing pointer to incomplete type
> gui.c:1082: error: dereferencing pointer to incomplete type
> gui.c :1088: error: dereferencing pointer to incomplete type
> gui.c:1113: error: dereferencing pointer to incomplete type
> gui.c:1126: error: dereferencing pointer to incomplete type
> gui.c:1132: error: dereferencing pointer to incomplete type
> gui.c:1139: error: dereferencing pointer to incomplete type
> gui.c: In function 'gui_model_mask':
> gui.c:1153: error: invalid operands to binary *
> gui.c:1156: error: dereferencing pointer to incomplete type
> gui.c:1160: error: dereferencing pointer to incomplete type
> gui.c: In function 'gui_model_grid':
> gui.c:1173: error: 'grid' undeclared (first use in this function)
> gui.c:1176: error: dereferencing pointer to incomplete type
> make[3]: *** [gui.lo] Fel 1
> make[3]: Leaving directory `/home/billing/stage-2.0.2/src'
> make[2]: *** [all-recursive] Fel 1
> make[2]: Leaving directory `/home/billing/stage- 2.0.2/src'
> make[1]: *** [all-recursive] Fel 1
> make[1]: Leaving directory `/home/billing/stage-2.0.2'
> make: *** [all] Fel 2
>
>
> What may be going wrong here?
>
> Thanx for help. /Erik
>
>
>
> On 6/22/06, *Moslem Kazemi* < moslemk@sfu.ca <mailto:moslemk@sfu.ca>> wrote:
>
>     Yes, I installed the libtool package and it worked. Now I have PS
>     running on ubuntu.
>     Thanks Toby and Richard for your help.
>     --Moslem.
>
>     Richard Vaughan wrote:
>      > Moslem Kazemi wrote:
>      >> Hi,
>      >> I am trying to install PS on ubuntu. I installed player
>     successfully.
>      >> But
>      >> when I make the stage I get the following error after a while:
>      >>
>      >> /usr/bin/ld: cannot find -lltdl
>      >> collect2: ld returned 1 exit status
>      >> make[3]: *** [libstageplugin.la <http://libstageplugin.la>] Error 1
>      >> make[3]: Leaving directory `/home/root/PS/stage- 2.0.1/src'
>      >> make[2]: *** [all-recursive] Error 1
>      >> make[2]: Leaving directory `/home/root/PS/stage-2.0.1/src'
>      >> make[1]: *** [all-recursive] Error 1
>      >> make[1]: Leaving directory `/home/root/PS/stage- 2.0.1'
>      >> make: *** [all] Error 2
>      >>
>      >
>      > Hi Moslem,
>      >
>      >> what is this lltdl anyway? Is a package missing?
>      >
>      > Yes. You need "libtool".
>      >
>      > Richard/
>      >
>      >
>      >> Thanks for your help/time.
>      >> --Moslem.
>      >>
>      >> Moslem Kazemi
>      >> Ph.D. Candidate
>      >> Robotic Algorithms & Motion Planning Laboratory
>      >> School of Engineering Science
>      >> Simon Fraser University
>      >> Burnaby, B.C. V5A1S6, Canada.
>      >>
>      >> Using Tomcat but need to do more? Need to support web services,
>      >> security?
>      >> Get stuff done quickly with pre-integrated technology to make your
>      >> job easier
>      >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>      >> Geronimo
>      >>
>     http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >
>      >> _______________________________________________
>      >> Playerstage-users mailing list
>      >> Playerstage-users@lists.sourceforge.net
>     <mailto:Playerstage-users@lists.sourceforge.net>
>      >> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>      >
>
>     Using Tomcat but need to do more? Need to support web services,
>     security?
>     Get stuff done quickly with pre-integrated technology to make your
>     job easier
>     Download IBM WebSphere Application Server v.1.0.1 based on Apache
>     Geronimo
>     http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>     <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >
>     _______________________________________________
>     Playerstage-users mailing list
>     Playerstage-users@lists.sourceforge.net
>     <mailto:Playerstage-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
>
>
> ------------------------------------------------------------------------
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-users

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users