problem installing xmemo-1.01

Asked by vicky.it.bhu

./configure seems to work but make command gives errors ..... I m listing those here. Plz help ....

vivek@SyLaR:~/Desktop/xmemo-1.01$ ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) no
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for errno.h... (cached) yes
checking for netdb.h... (cached) yes
checking for time.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for sys/fileio.h... (cached) no
checking for sys/ioctl.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking whether gcc needs -traditional... (cached) no
checking for gethostname... (cached) yes
checking for mkdir... (cached) yes
checking for socket... (cached) yes
checking for strspn... (cached) yes
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
vivek@SyLaR:~/Desktop/xmemo-1.01$ make
gcc -DHAVE_CONFIG_H -I. -I. -I. -c dlgabout.c
dlgabout.c:67:27: error: X11/Intrinsic.h: No such file or directory
dlgabout.c:68:28: error: X11/StringDefs.h: No such file or directory
dlgabout.c:69:23: error: X11/Shell.h: No such file or directory
dlgabout.c:71:29: error: X11/Xaw/Command.h: No such file or directory
dlgabout.c:72:26: error: X11/Xaw/Form.h: No such file or directory
dlgabout.c:73:27: error: X11/Xaw/Label.h: No such file or directory
In file included from dlgabout.c:76:
xmemo.h:159: error: expected specifier-qualifier-list before ‘XtInputId’
xmemo.h:167: error: expected specifier-qualifier-list before ‘Widget’
In file included from dlgabout.c:77:
xmemodata.h:185: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xApp’
xmemodata.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wTop’
xmemodata.h:187: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wTopForm’
xmemodata.h:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wTopMenu’
xmemodata.h:189: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wTopStatusView’
xmemodata.h:190: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wTopStatusList’
dlgabout.c:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wDlgHelpAboutxmemo’
dlgabout.c:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wDlgHelpAboutForm’
dlgabout.c:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wDlgHelpAboutLblVersion’
dlgabout.c:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wDlgHelpAboutLblCopyright’
dlgabout.c:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wDlgHelpAboutLblEMail’
dlgabout.c:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wDlgHelpAboutLblURL’
dlgabout.c:98: error: expected ‘)’ before ‘w’
dlgabout.c:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pAboutxmemoOK_CallbackRec’
dlgabout.c: In function ‘xmemo_InitDialog_Aboutxmemo’:
dlgabout.c:125: error: ‘Arg’ undeclared (first use in this function)
dlgabout.c:125: error: (Each undeclared identifier is reported only once
dlgabout.c:125: error: for each function it appears in.)
dlgabout.c:125: error: expected ‘;’ before ‘xArg’
dlgabout.c:130: error: ‘xArg’ undeclared (first use in this function)
dlgabout.c:130: error: ‘XtNtitle’ undeclared (first use in this function)
dlgabout.c:131: error: ‘XtNwidth’ undeclared (first use in this function)
dlgabout.c:132: error: ‘XtNheight’ undeclared (first use in this function)
dlgabout.c:133: error: ‘wDlgHelpAboutxmemo’ undeclared (first use in this function)
dlgabout.c:133: error: ‘transientShellWidgetClass’ undeclared (first use in this function)
dlgabout.c:133: error: ‘wTop’ undeclared (first use in this function)
dlgabout.c:137: error: ‘wDlgHelpAboutForm’ undeclared (first use in this function)
dlgabout.c:137: error: ‘formWidgetClass’ undeclared (first use in this function)
dlgabout.c:140: error: ‘XtNlabel’ undeclared (first use in this function)
dlgabout.c:141: error: ‘XtNjustify’ undeclared (first use in this function)
dlgabout.c:141: error: ‘XtJustifyLeft’ undeclared (first use in this function)
dlgabout.c:142: error: ‘XtNborderWidth’ undeclared (first use in this function)
dlgabout.c:143: error: ‘XtNtop’ undeclared (first use in this function)
dlgabout.c:143: error: ‘XtChainTop’ undeclared (first use in this function)
dlgabout.c:144: error: ‘XtNbottom’ undeclared (first use in this function)
dlgabout.c:145: error: ‘XtNleft’ undeclared (first use in this function)
dlgabout.c:145: error: ‘XtChainLeft’ undeclared (first use in this function)
dlgabout.c:146: error: ‘XtNright’ undeclared (first use in this function)
dlgabout.c:147: error: ‘wDlgHelpAboutLblVersion’ undeclared (first use in this function)
dlgabout.c:147: error: ‘labelWidgetClass’ undeclared (first use in this function)
dlgabout.c:157: error: ‘XtNfromVert’ undeclared (first use in this function)
dlgabout.c:158: error: ‘wDlgHelpAboutLblCopyright’ undeclared (first use in this function)
dlgabout.c:169: error: ‘XtNvertDistance’ undeclared (first use in this function)
dlgabout.c:170: error: ‘XtNhorizDistance’ undeclared (first use in this function)
dlgabout.c:171: error: ‘wDlgHelpAboutLblEMail’ undeclared (first use in this function)
dlgabout.c:195: error: ‘wDlgHelpAboutLblURL’ undeclared (first use in this function)
dlgabout.c:207: error: ‘XtNcallback’ undeclared (first use in this function)
dlgabout.c:207: error: ‘pAboutxmemoOK_CallbackRec’ undeclared (first use in this function)
dlgabout.c:208: error: ‘commandWidgetClass’ undeclared (first use in this function)
dlgabout.c: In function ‘xmemo_PopupDialog_Aboutxmemo’:
dlgabout.c:221: error: ‘Arg’ undeclared (first use in this function)
dlgabout.c:221: error: expected ‘;’ before ‘xArg’
dlgabout.c:237: error: ‘wDlgHelpAboutxmemo’ undeclared (first use in this function)
dlgabout.c:237: error: ‘XtGrabExclusive’ undeclared (first use in this function)
dlgabout.c: In function ‘xmemo_PopdownDialog_Aboutxmemo’:
dlgabout.c:252: error: ‘wDlgHelpAboutxmemo’ undeclared (first use in this function)
make: *** [dlgabout.o] Error 1
vivek@SyLaR:~/Desktop/xmemo-1.01$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Florian Diesch (diesch) said :
#1

You need to install the packages libxt-dev and libxaw7-dev

apt-file can help you finding the package for a given file:

| diesch@scenic:~% apt-file search X11/Intrinsic.h
| libxt-dev: /usr/include/X11/Intrinsic.h
| tendra: /usr/lib/TenDRA/lib/include/x5/t.api/X11/Intrinsic.h

The first one looks like what you want here, so you need to install libxt-dev.

Can you help with this problem?

Provide an answer of your own, or ask vicky.it.bhu for more information if necessary.

To post a message you must log in.