LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-20-2003, 10:58 AM   #1
Sirrvs
LQ Newbie
 
Registered: Aug 2002
Location: New York, USA
Distribution: Mandrake 9.1
Posts: 29

Rep: Reputation: 15
Unhappy Compiling Xscreensaver


When I try to build the latest version of Xscreensaver, I get these
errors: (Just a snippet of the whole thing)

make[1]: Entering directory `/home/sirrvs/xscreensaver-4.12/driver'
gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI__ -c -I. -I. -I./../utils -I.. -DHAVE_CONFIG_H -g -O2 -I/usr/X11R6/include demo-Xm-widgets.c
demo-Xm-widgets.c:24:19: Xm/Xm.h: No such file or directory
demo-Xm-widgets.c:25:22: Xm/MainW.h: No such file or directory
demo-Xm-widgets.c:26:21: Xm/Form.h: No such file or directory
demo-Xm-widgets.c:27:22: Xm/Frame.h: No such file or directory
demo-Xm-widgets.c:28:26: Xm/ScrolledW.h: No such file or directory
demo-Xm-widgets.c:29:21: Xm/List.h: No such file or directory
demo-Xm-widgets.c:30:22: Xm/PushB.h: No such file or directory
demo-Xm-widgets.c:31:23: Xm/PushBG.h: No such file or directory
demo-Xm-widgets.c:32:21: Xm/Text.h: No such file or directory
demo-Xm-widgets.c:33:22: Xm/TextF.h: No such file or directory
demo-Xm-widgets.c:34:25: Xm/ToggleBG.h: No such file or directory
demo-Xm-widgets.c:35:26: Xm/CascadeBG.h: No such file or directory
demo-Xm-widgets.c:36:26: Xm/RowColumn.h: No such file or directory
demo-Xm-widgets.c:37:23: Xm/LabelG.h: No such file or directory
demo-Xm-widgets.c:38:26: Xm/SeparatoG.h: No such file or directory
demo-Xm-widgets.c:39:26: Xm/SelectioB.h: No such file or directory
demo-Xm-widgets.c: In function `tab_cb':
demo-Xm-widgets.c:73: `XmNnumChildren' undeclared (first use in this function)
demo-Xm-widgets.c:73: (Each undeclared identifier is reported only once
demo-Xm-widgets.c:73: for each function it appears in.)
demo-Xm-widgets.c:73: `XmNchildren' undeclared (first use in this function)
demo-Xm-widgets.c: In function `create_xscreensaver_demo':
demo-Xm-widgets.c:101: warning: implicit declaration of function `XmCreateMainWindow'
demo-Xm-widgets.c:101: warning: assignment makes pointer from integer without a cast
demo-Xm-widgets.c:102: warning: implicit declaration of function `XmCreateForm'
demo-Xm-widgets.c:102: warning: assignment makes pointer from integer without a cast
demo-Xm-widgets.c:103: warning: implicit declaration of function `XmCreateSimpleMenuBar'
demo-Xm-widgets.c:103: warning: assignment makes pointer from integer without a cast
demo-Xm-widgets.c:105: `XmNtopAttachment' undeclared (first use in this function)
demo-Xm-widgets.c:105: `XmATTACH_FORM' undeclared (first use in this function)
demo-Xm-widgets.c:106: `XmNleftAttachment' undeclared (first use in this function)
demo-Xm-widgets.c:107: `XmNrightAttachment' undeclared (first use in this function)
demo-Xm-widgets.c:121: warning: implicit declaration of function `XmCreateSeparatorGadget'
demo-Xm-widgets.c:121: warning: assignment makes pointer from integer without a cast
demo-Xm-widgets.c:123: warning: implicit declaration of function `XmCreatePushButtonGadget'
demo-Xm-widgets.c:123: warning: assignment makes pointer from integer without a cast
demo-Xm-widgets.c:126: warning: implicit declaration of function `XmCreatePulldownMenu'
demo-Xm-widgets.c:126: warning: assignment makes pointer from integer without a cast
demo-Xm-widgets.c:127: `XmNsubMenuId' undeclared (first use in this function)
demo-Xm-widgets.c:127: warning: left-hand operand of comma expression has no effect
demo-Xm-widgets.c:128: warning: implicit declaration of function `XmCreateCascadeButtonGadget'
demo-Xm-widgets.c:128: warning: assignment makes pointer from integer without a cast
demo-Xm-widgets.c:131: `XmNmenuHelpWidget' undeclared (first use in this function)
demo-Xm-widgets.c:138: warning: assignment makes pointer from integer without a cast
demo-Xm-widgets.c:141: `XmATTACH_WIDGET' undeclared (first use in this function)
demo-Xm-widgets.c:142: `XmNtopWidget' undeclared (first use in this function)
demo-Xm-widgets.c:145: warning: assignment makes pointer from integer without a cast
demo-Xm-widgets.c:148: `XmNleftWidget' undeclared (first use in this function)
demo-Xm-widgets.c:149: `XmATTACH_OPPOSITE_WIDGET' undeclared (first use in this function)
demo-Xm-widgets.c:151: `XmNbottomAttachment' undeclared (first use in this function)
demo-Xm-widgets.c:152: `XmNbottomWidget' undeclared (first use in this function)
demo-Xm-widgets.c:155: warning: assignment makes pointer from integer without a cast

As far as I know, I have everything needed by Xscreensaver.
Has anyone else ever gotten those errors?
 
Old 08-20-2003, 11:05 AM   #2
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Does make exit with an error?
 
Old 08-20-2003, 11:10 AM   #3
Sirrvs
LQ Newbie
 
Registered: Aug 2002
Location: New York, USA
Distribution: Mandrake 9.1
Posts: 29

Original Poster
Rep: Reputation: 15
Yeah, it doesn't complete the installation. That 'XM' seems to be
causing the problem. I don't know what it is.
 
Old 08-20-2003, 11:15 AM   #4
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
hm...no idea, I'm sorry. I don't know what these xm-widgets are, but try and install without these widgets, or grab the rpm maybe?
 
Old 08-20-2003, 11:24 AM   #5
Sirrvs
LQ Newbie
 
Registered: Aug 2002
Location: New York, USA
Distribution: Mandrake 9.1
Posts: 29

Original Poster
Rep: Reputation: 15
Hmmph, if you can find an RPM with glmatrix in it that's built for
Mandrake, I'm all ears!
 
Old 08-20-2003, 08:51 PM   #6
Sirrvs
LQ Newbie
 
Registered: Aug 2002
Location: New York, USA
Distribution: Mandrake 9.1
Posts: 29

Original Poster
Rep: Reputation: 15
*bumpx0r*
 
Old 08-20-2003, 11:32 PM   #7
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
i'm not sure either, but that xm thing sounds like maybe a needed X header or library. (?)

what i would do is email the author.
http://www.jwz.org/contact.html

from personal experience i've contacted him twice about xscreensaver. one was for help installing xscreensaver with the old version of xscreensaver which red hat wouldn't let me uninstall and the other for a non-important question. he got back to me almost immediately and was most helpful. but, although he distibutes everything in source, for red hat anyway, you can build rpms out of the source using 'rpm -ta *.gz', which is what i've been doing lately and forcing the install of the newer version. i don't know how different mandy's version of rpm is though. but i would fire off an email to him.

Last edited by megaspaz; 08-20-2003 at 11:36 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Computer freezes a lot while compiling, if I have xscreensaver running, etc scawt Slackware 4 02-02-2005 09:32 PM
xscreensaver chilehead Linux - Software 3 10-28-2004 07:31 PM
xscreensaver installed, but no xscreensaver-demo command? dalesan Linux - Software 7 09-01-2004 01:06 PM
veclinux4 - xscreensaver not compiling Itzac Linux - Software 0 12-02-2003 12:24 AM
compiling xscreensaver-4.06 yawara Linux - Software 4 12-19-2002 10:07 PM

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

All times are GMT -5. The time now is 11:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration