LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-12-2005, 07:30 PM   #1
jhigz
Member
 
Registered: Jul 2005
Location: Northern California
Distribution: Debian GNU/Linux
Posts: 32

Rep: Reputation: 15
Dockapp build error


I recently started using Window Maker for my window manager and wanted to begin adding dockapps. The first one I choose to install is Temperature.app-1.4

Unfortunately, I got errors when attempting to build.

*******************************************************
jigs@pingstorm:~/downloads/dockapps/...emperature.app-1.4$ make
c++ -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include -c -o M ain.o Main.cc
In file included from /usr/include/c++/3.3/backward/fstream.h:31,
from Temperature.h:25,
from Main.cc:22:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This fi le includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples in clude substituting the <X> header for the <X.h> header for C++ includes, or <sst ream> instead of the deprecated header <strstream.h>. To disable this warning us e -Wno-deprecated.
In file included from Main.cc:22:
Temperature.h:26:22: X11/Xlib.h: No such file or directory
In file included from Main.cc:22:
Temperature.h:69: error: syntax error before `*' token
Temperature.h:70: error: 'Window' is used as a type, but is not defined as a
type.
Temperature.h:71: error: 'Window' is used as a type, but is not defined as a
type.
Temperature.h:72: error: 'Window' is used as a type, but is not defined as a
type.
Temperature.h:73: error: 'Window' is used as a type, but is not defined as a
type.
make: *** [Main.o] Error 1
jigs@pingstorm:~/downloads/dockapps/...emperature.app-1.4$
**********************************************
I'm afraid I'm not sure what these errors are, or how to go about correcting the situation(s) causing them. Has anyone else shared a similar experience with this particular dockapp, or has my inexperience with Linux caught me again?

Any help would be greatly appreciated. Thanks.
 
Old 12-12-2005, 08:33 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
first thing is it appears you don't have the directory
/usr/include/X11
with the X headers in there
install the x developement package for your distribution
 
Old 12-13-2005, 11:08 AM   #3
jhigz
Member
 
Registered: Jul 2005
Location: Northern California
Distribution: Debian GNU/Linux
Posts: 32

Original Poster
Rep: Reputation: 15
foo_bar_foo,

Thanks for the reply. I'll install the developer package when I get home tonight and give it another try.
 
Old 12-13-2005, 11:40 PM   #4
jhigz
Member
 
Registered: Jul 2005
Location: Northern California
Distribution: Debian GNU/Linux
Posts: 32

Original Poster
Rep: Reputation: 15
Installed the development package for X and confirmed that headers are present in the /usr/include/X11 folder. Error warnings still show up when make command is issued as listed.

*****************************************************
jigs@pingstorm:~/downloads/dockapps/...emperature.app-1.4$ make
c++ -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include -c -o Main.o Main.cc
In file included from /usr/include/c++/3.3/backward/fstream.h:31,
from Temperature.h:25,
from Main.cc:22:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
c++ -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include -c -o Temperature.o Temperature.cc
In file included from /usr/include/c++/3.3/backward/iostream.h:31,
from Temperature.cc:23:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
c++ -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include -c -o Xpm.o Xpm.cc
In file included from /usr/include/c++/3.3/backward/iostream.h:31,
from Xpm.cc:25:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
c++ Main.o Temperature.o Xpm.o -o Temperature.app -L/usr/X11R6/lib -lXpm -lXext -lX11
jigs@pingstorm:~/downloads/dockapps/...emperature.app-1.4$ su
Password:
pingstorm:/home/jigs/downloads/dockapps/time_temp/Temperature.app-1.4# make install
install -d /usr/local/GNUstep/Apps/Temperature.app
install -m 0755 Temperature.app /usr/local/GNUstep/Apps/Temperature.app/Temperature
pingstorm:/home/jigs/downloads/dockapps/time_temp/Temperature.app-1.4# exit
exit
jigs@pingstorm:~/downloads/dockapps/...emperature.app-1.4$
*************************************************************

I was able to install the build and launch the dockapp successfully. I would, however, like to better understand, if not eliminate the warning messages from the process.

Thanks again for any and all help.
 
  


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
How to Get DockApp under Fluxbox Windows?? nedson Linux - Software 1 01-15-2005 08:28 PM
Install DOCKAPP in WindowMaker SML Linux - Newbie 3 03-13-2004 07:03 AM
How does fluxbox know a dockapp is a dockapp? Cerbere Linux - Software 1 11-12-2003 05:38 AM
Dockapp questions e1000 Linux - Software 1 11-04-2003 11:42 PM
Simple program link as Dockapp in Fluxbox Nerd2 Linux - Software 1 05-31-2003 08:29 PM

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

All times are GMT -5. The time now is 06:45 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