LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-28-2003, 09:42 PM   #1
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Rep: Reputation: 30
garnome error, please help


I encounter errors when compiling up to gnome-meeting. Any ideas?


make[5]: Leaving directory `/home/garnome-0.27.1/gnome/gnomemeeting/work/main.d/gnomemeeting-0.98.5/lib'
make[4]: Leaving directory `/home/garnome-0.27.1/gnome/gnomemeeting/work/main.d/gnomemeeting-0.98.5/lib'
Making all in src
make[4]: Entering directory `/home/garnome-0.27.1/gnome/gnomemeeting/work/main.d/gnomemeeting-0.98.5/src'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/root/garnome/share/locale"\" -I../src -I../lib -I../lib/widgets -I../lib/xdap -I/usr/include/ptlib/unix -I/usr/include/ptclib -I/usr/include/openh323 -DP_LINUX -D_REENTRANT -DHAS_OSS
-DNDEBUG -DPHAS_TEMPLATES -DP_USE_PRAGMA -DPTRACING -Wall -O2 -g -DHAS_IXJ -DORBIT2=1 -pthread -I/root/garnome/include/gtk-2.0 -I/root/garnome/lib/gtk-2.0/include -I/root/garnome/include/atk-1.0 -I/root/garnome/include/pango-1.0 -I/root/garnome/include -I/root/garnome/include/freetype2 -I/usr/X11R6/include -I/root/garnome/include/glib-2.0 -I/root/garnome/lib/glib-2.0/include -I/root/garnome/include/gconf/2 -I/root/garnome/include/orbit-2.0 -I/root/garnome/include/libxml2 -I/root/garnome/include/libgnome-2.0 -I/root/garnome/include/libbonobo-2.0 -I/root/garnome/include/gnome-vfs-2.0 -I/root/garnome/lib/gnome-vfs-2.0/include -I/root/garnome/include/bonobo-activation-2.0 -I/root/garnome/include/libgnomeui-2.0 -I/root/garnome/include/libgnomecanvas-2.0 -I/root/garnome/include/libart-2.0 -I/root/garnome/include/libbonoboui-2.0 -I/usr/include/SDL -D_REENTRANT -DHAS_SDL -DGNOMEMEETING_IMAGES=\""/root/garnome/share/pixmaps"\" -DSCHEMA_AGE=26 -DDATADIR=\""/root/garnome/share"\" -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -I/root/garnome/include -I/usr/X11R6/include -c callbacks.cpp
In file included from ldap_window.h:43,
from callbacks.cpp:42:
common.h:42:31: openh323buildopts.h: No such file or directory
common.h:43:25: ptbuildopts.h: No such file or directory
In file included from /usr/include/ptlib.h:184,
from common.h:45,
from ldap_window.h:43,
from callbacks.cpp:42:
/usr/include/ptlib/unix/ptlib/thread.h: In member function `virtual
PThreadIdentifer PThread::GetThreadId() const':
/usr/include/ptlib/unix/ptlib/thread.h:276: `PX_threadId' undeclared (first use
this function)
/usr/include/ptlib/unix/ptlib/thread.h:276: (Each undeclared identifier is
reported only once for each function it appears in.)
In file included from /usr/include/openh323/mediafmt.h:83,
from /usr/include/openh323/codecs.h:259,
from /usr/include/openh323/h323caps.h:158,
from /usr/include/openh323/h323con.h:245,
from /usr/include/openh323/h323.h:447,
from common.h:46,
from ldap_window.h:43,
from callbacks.cpp:42:
/usr/include/openh323/rtp.h: In member function `WORD
RTP_DataFrame::GetSequenceNumber() const':
/usr/include/openh323/rtp.h:252: `PUInt16b' undeclared (first use this
function)
/usr/include/openh323/rtp.h:252: parse error before `;' token
/usr/include/openh323/rtp.h: In member function `void
RTP_DataFrame::SetSequenceNumber(short unsigned int)':
/usr/include/openh323/rtp.h:253: parse error before `;' token
/usr/include/openh323/rtp.h: In member function `DWORD
RTP_DataFrame::GetTimestamp() const':
/usr/include/openh323/rtp.h:255: `PUInt32b' undeclared (first use this
function)
/usr/include/openh323/rtp.h:255: parse error before `;' token
/usr/include/openh323/rtp.h: In member function `void
RTP_DataFrame::SetTimestamp(unsigned int)':
/usr/include/openh323/rtp.h:256: parse error before `;' token
/usr/include/openh323/rtp.h: In member function `DWORD
RTP_DataFrame::GetSyncSource() const':
/usr/include/openh323/rtp.h:258: parse error before `;' token
/usr/include/openh323/rtp.h: In member function `void
RTP_DataFrame::SetSyncSource(unsigned int)':
/usr/include/openh323/rtp.h:259: parse error before `;' token
/usr/include/openh323/rtp.h: At global scope:
/usr/include/openh323/rtp.h:319: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h:322: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h:323: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h:324: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h:325: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h:332: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h:333: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h:334: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h:335: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h:336: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h:337: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h:354: 'PUInt32b' is used as a type, but is not
defined as a type.
/usr/include/openh323/rtp.h: In member function `PINDEX
RTP_ControlFrame::GetPayloadSize() const':
/usr/include/openh323/rtp.h:307: parse error before `;' token
In file included from endpoint.h:45,
from gnomemeeting.h:43,
from callbacks.cpp:44:
gdkvideoio.h: At global scope:
gdkvideoio.h:53: parse error before `{' token
gdkvideoio.h:54: virtual outside class declaration
gdkvideoio.h:54: non-member function `const char* GetClass(unsigned int)'
cannot have `const' method qualifier
gdkvideoio.h: In function `const char* GetClass(unsigned int)':
gdkvideoio.h:54: `PVideoOutputDeviceRGB' undeclared (first use this function)
gdkvideoio.h:54: parse error before `::' token
gdkvideoio.h:54: no method `GDKVideoOutputDevice::Class'
gdkvideoio.h: At global scope:
gdkvideoio.h:54: virtual outside class declaration
gdkvideoio.h:54: non-member function `BOOL IsClass(const char*)' cannot have `
const' method qualifier
gdkvideoio.h: In function `BOOL IsClass(const char*)':
gdkvideoio.h:54: no method `GDKVideoOutputDevice::Class'
gdkvideoio.h: At global scope:
gdkvideoio.h:54: virtual outside class declaration
gdkvideoio.h:54: non-member function `BOOL IsDescendant(const char*)' cannot
have `const' method qualifier
gdkvideoio.h: In function `BOOL IsDescendant(const char*)':
gdkvideoio.h:54: no method `GDKVideoOutputDevice::Class'
gdkvideoio.h:54: parse error before `::' token
gdkvideoio.h: At global scope:
gdkvideoio.h:54: syntax error before `(' token
gdkvideoio.h:76: parse error before `int'
gdkvideoio.h:83: destructors must be member functions
gdkvideoio.h:97: non-member function `PStringList GetDeviceNames()' cannot have
`const' method qualifier
gdkvideoio.h:139: parse error before `protected'
gdkvideoio.h:166: parse error before `}' token
In file included from endpoint.h:46,
from gnomemeeting.h:43,
from callbacks.cpp:44:
videograbber.h:108: syntax error before `*' token
videograbber.h:185: syntax error before `*' token
In file included from gnomemeeting.h:43,
from callbacks.cpp:44:
endpoint.h:472: syntax error before `*' token
endpoint.h:473: syntax error before `*' token
make[4]: *** [callbacks.o] Error 1
make[4]: Leaving directory `/home/garnome-0.27.1/gnome/gnomemeeting/work/main.d/gnomemeeting-0.98.5/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/garnome-0.27.1/gnome/gnomemeeting/work/main.d/gnomemeeting-0.98.5'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/home/garnome-0.27.1/gnome/gnomemeeting/work/main.d/gnomemeeting-0.98.5'
make[1]: *** [build-work/main.d/gnomemeeting-0.98.5/Makefile] Error 2
make[1]: Leaving directory `/home/garnome-0.27.1/gnome/gnomemeeting'
make: *** [../../gnome/gnomemeeting/cookies/main.d/install] Error 2
[root@localhost gnome-desktop]#
 
Old 09-28-2003, 11:53 PM   #2
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Original Poster
Rep: Reputation: 30
Hi again. I was able to compile successfully garnome (at last). Now, to execute garnome, I can't find .xinitrc or .xsession. Any suggestions? I tried to run my garnome-session manually by ./garnome-session, and this returned an answer like this "(gnome-session:3008)"Gtk-WARNING **:cannot opern display:"

Any suggestions?

Also, can someone double check my garnome-session script? Thanks.

#!/bin/sh
GARNOME=$HOME/garnome

PATH=$GARNOME/bin:$PATH
LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH
PYTHONPATH=$GARNOME/lib/python2.2/site-packages
PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig
GDK_USE_XFT=1

export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH GDK_USE_XFT

exec $GARNOME/bin/gnome-session



I was able to find .xinitrc the first time, and I placed the following lines:

#!/bin/sh
exec garnome-session

But it returned an error that line 2 can't be found, when it is clearly in /root. When I removed the lines from .xinitrc and saved, .xinitrc file can no longer be found.

Thanks, can't wait to get gnome 2.4 going
 
Old 09-29-2003, 03:24 PM   #3
LordMorgul
Member
 
Registered: Sep 2003
Location: Ca
Distribution: Fedora, RH 7.1-9.0
Posts: 68

Rep: Reputation: 15
I think the script should work provided X is up and ready to go otherwise, but timing in that could be an issue perhaps. You should look into the gdm / xdm X startup chain RedHat has in /etc/X11/gdm/Sessions and look at adding your new garnome session to system.
 
Old 09-29-2003, 07:33 PM   #4
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Original Poster
Rep: Reputation: 30
I finally got it to work. I changed the second line from my .xinitrc to exec /root/garnome-session instead of exec garnome-session. Maybe my garnome-session isn't included in path.

I also want to ask about putting the same command to xsession. Is this file the one I see under /etc/X11/xdm/Xsession?

I can see lots of lines inside it. What I did was backed it up and deleted all the lines and inserted the line exec /root/garnome-session. It went inside to the gdm, and there, upon login, it says that my last session was less than 10 seconds. It asked my to try failsafe and others, all came out with the same result. But when I did a startx, no problem whatsoever. Are the lines in the orignal xsession needed? If so, where do I insert this new line?
 
Old 09-29-2003, 10:18 PM   #5
LordMorgul
Member
 
Registered: Sep 2003
Location: Ca
Distribution: Fedora, RH 7.1-9.0
Posts: 68

Rep: Reputation: 15
If you're only using gdm for login place a script at /etc/X11/gdm/Sessions that is similar to the GNOME default script there, then edit /etc/X11/xdm/XSessions simplay adding the line that will be correct for garnome where you see a block with gnome, kde, failsafe etc.

copy the 3 lines with gnome, change gnome to get garnome going with /root/bin/gnome-session.
 
Old 09-29-2003, 10:49 PM   #6
jang
Member
 
Registered: Nov 2002
Location: Manila
Distribution: Fedora core 2 Gnome 2.6
Posts: 156

Original Poster
Rep: Reputation: 30
i get what you mean. I will try it right away. Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in compile Garnome!! Neda Linux - Newbie 10 07-24-2005 12:45 AM
Garnome Error Gnome 2.8 MentalProblems Slackware 0 10-12-2004 08:40 PM
Garnome 2.5.92 compilation error - Mandrake 10 QtCoder Linux - Software 0 04-18-2004 04:02 PM
Building Gnome 2.4 with Garnome (error) JimDog Linux - Software 7 10-17-2003 09:33 AM
garnome build error Tarential Linux - Software 1 09-28-2003 03:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration