[rrd-users] some issues compiling rrdtool 1.4.2 on hp-ux

Stoyan Angelov s_angelov at filibeto.org
Thu Nov 19 13:33:39 CET 2009


hi all,

i am trying to compile rrdtool 1.4.2 on hp-ux 11.23 (pa-risc) but i have 
several problems. i use hp's C/aC++ compiler and hp's make.
during configuration i get the following warnings:

<output truncated>
config.status: creating examples/Makefile
config.status: creating examples/rrdcached/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: WARNING:  'po/Makefile.in.in' seems to ignore the 
--datarootdir setting
config.status: creating intl/Makefile
config.status: WARNING:  'intl/Makefile.in' seems to ignore the 
--datarootdir setting
config.status: creating src/Makefile
<snip>


then, when i use make i get:

No suffix list.
         make  all-recursive
No suffix list.
Making all in po
Make: line 189: syntax error.  Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


i tried using configure with '--with-included-gettext', then i tried 
using the local gettext (version 0.15) with 
'--with-libintl-prefix=/usr/local' and finally i tried '--disable-nls' 
however the problem persists.

if i add the datarootdir setting to the respective makefiles then the 
warnings during configure disappear.

*** po/Makefile.in.in   Sun Nov 15 13:54:41 2009
--- po/Makefile.in.in.aduritz   Thu Nov 19 13:55:59 2009
***************
*** 24,29 ****
--- 24,30 ----
   prefix = @prefix@
   exec_prefix = @exec_prefix@
   datadir = @datadir@
+ datarootdir = @datarootdir@
   localedir = $(datadir)/locale
   gettextsrcdir = $(datadir)/gettext/po


in the generated makefile i see the the 'POFILES = ' line 45 is empty 
and the same for 'DUMMYPOFILES =':

<snip>
42  MSGCONV = msgconv
43  MSGFILTER = msgfilter
44
45  POFILES =
46  GMOFILES =
47  UPDATEPOFILES =
48  DUMMYPOFILES =

and make fails again with syntax error on line 190:

188  # This target rebuilds a PO file if $(DOMAIN).pot has changed.
189  # Note that a PO file is not touched if it doesn't need to be changed.
190  $(POFILES): $(srcdir)/$(DOMAIN).pot
191          @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
192          if test -f "$(srcdir)/$${lang}.po"; then \
193            test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) 
&& "; \
194            echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po 
$(DOMAIN).pot"; \
195            cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po 
$(DOMAIN).pot; \
196          else \
197            $(MAKE) $${lang}.po-create; \
198          fi
199



another issue - i commented out the problematic lines in the Makefile 
but make failed with another error:

   CC     rrd_hw_update.lo
   CC     rrd_diff.lo
   CC     rrd_format.lo
   CC     rrd_info.lo
   CC     rrd_error.lo
   CC     rrd_open.lo
cc: "rrd_open.c", line 686: error 1000: Unexpected symbol: ")".
cc: "rrd_open.c", line 748: error 1000: Unexpected symbol: ")".
cc: "rrd_open.c", line 749: error 1000: Unexpected symbol: ")".
cc: "rrd_open.c", line 750: error 1000: Unexpected symbol: ")".
cc: "rrd_open.c", line 751: error 1000: Unexpected symbol: ")".
cc: "rrd_open.c", line 763: error 1000: Unexpected symbol: ")".
cc: "rrd_open.c", line 764: error 1000: Unexpected symbol: ")".
cc: "rrd_open.c", line 762: error 1711: Inconsistent parameter list 
declaration for "rrd_select_initial_row".
cc: "rrd_open.c", line 768: error 1529: Cannot select field of 
non-structure.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1c


any help will be greatly appreciated.


greetings,

Stoyan



More information about the rrd-users mailing list