Operating System - HP-UX
1819870 Members
2470 Online
109607 Solutions
New Discussion юеВ

WARNING: 'aclocal-1.15' is missing on your system when attempting compile of UnixODBC

 
Paolo_c
Valued Contributor

WARNING: 'aclocal-1.15' is missing on your system when attempting compile of UnixODBC

Good morning,

I have a HP-UX server running 11.31 . We need to install UnixODBC in order to establish internal ODBC links to MariaSQL D/B running on another internal Server.

My initial attempt to compile UnixODBC resulted in the following error...


/tmp/unixODBC-2.3.9/missing[81]: aclocal-1.15: not found.
WARNING: 'aclocal-1.15' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
*** Error exit code 127

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

After installing the pre-requitesite drivers : gcc 4.2.3 , gettext 0.21 and libiconv 1.16 from root, i then tried configuring automake 1.16 (also from root) which resulted in the following error

 

"** error Autoconf 2.65 or better is required

The make file is detecting an older version of Autoconf in your $PATH"


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I then downloaded and attempted to configure autoconf 2.69 whereupon the following message was displayed

 

"checking for GNU M4 that supports accurate traces... configure: error: no acceptable m4 could be found in $PATH.

GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.

GNU M4 1.4.15 uses a buggy replacement strstr on some systems.

Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug."

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


I then downloaded GNU M4 1.4.19 and  ran  ./configure --prefix=/usr/local  which completed successfully.
However the subsequent attempt to compile binaries using #make,  resulted in the error below (p.s I would have attached the full output log but only seems to be an option to attach screenshots to these posts). 

 

"malloc/dynarray_emplace_enlarge.c", line 59: warning #4275-D: constant out of
range ([0 - 4294967295]) for the operator
if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size))
^

"malloc/dynarray_emplace_enlarge.c", line 59: warning #4275-D: constant out of
range ([0 - 4294967295]) for the operator
if (INT_MULTIPLY_WRAPV (new_allocated, element_size, &new_size))
^

CC malloc/dynarray_finalize.o
"./malloc/dynarray.h", line 113: warning #2068-D: integer conversion resulted
in a change of sign
return -1;
^

4 errors detected in the compilation of "malloc/dynarray_finalize.c


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


As a result of the error above i rolled back/uninstalled GNU m4.    


However I'm at a point now where i don't know how to resolve this (but hoping that we can still get Unix ODBC installed successfully - as no other viable solution available to us.  Im
not a developer so struggling to know what the fix for the above would be (and struggling to find any associated errors online ?) I have attached the full output associated
with compilation of malloc/dynarray_finalize for anyone that might be able to offer a solution ?


PS I understand that aside from Autoconf/Automake/GNU m4 the other pre-requisite for fixing 'aclocal-1.15' is to have perl installed on your system (but already checked that we have
perl E.5.8.8.F  installed already) 

 

 

 

6 REPLIES 6

Re: WARNING: 'aclocal-1.15' is missing on your system when attempting compile of UnixODBC

Have you tried using pre-compiled versions of those packages rather than trying to roll your own? That would leave you just needing to compile unixODBC itself:

http://hpux.connect.org.uk/hppd/hpux/Languages/m4-1.4.19/

http://hpux.connect.org.uk/hppd/hpux/Gnu/autoconf-2.71/

http://hpux.connect.org.uk/hppd/hpux/Gnu/libtool-2.4.6/

Note all those packages have a bunch of run-time dependencies you would also need to install..


I am an HPE Employee
Accept or Kudo
Paolo_c
Valued Contributor

Re: WARNING: 'aclocal-1.15' is missing on your system when attempting compile of UnixODBC

Hi Duncan

Have you tried using pre-compiled versions of those packages rather than trying to roll your own? That would leave you just needing to compile unixODBC itself:

http://hpux.connect.org.uk/hppd/hpux/Languages/m4-1.4.19/

 

Thanks. No i hadnt tried that yet but will definitely give that a go.  With regards to the installation instructions (link below) associated with the pre-compiled version of m4 above. I note that they still include a reference to compiling the source so presume i still need to run the same steps as before ?

To compile:

[Edit the HP-UX override section of configure for your site, particularly the prefix setting]

./configure

gmake

To test: gmake check

[This should pass all of the tests OK]

To install (usually as root): gmake install

 

 

HP-UX Porting and Archiving Centre | WWWTar Query (connect.org.uk)

 

 

Paolo_c
Valued Contributor

Re: WARNING: 'aclocal-1.15' is missing on your system when attempting compile of UnixODBC

Good morning , 

I ran # .configure --prefix=/usr/local  then # gmake  

(against the pre-compiled version) but got the same error as before 

"4 errors detected in the compilation of "malloc/dynarray_finalize.c"

(see attached screenshot 3916.png)

I'm not over familiar with installing s/ware on HP-UX using .configure , gmake method etc so if i should have skipped any of the install steps against the pre-compiled version then please let me know as currently faced with the same issue and need to get this working 

Re: WARNING: 'aclocal-1.15' is missing on your system when attempting compile of UnixODBC

My reading of those installation instructions were for those picking up the source code and compiling, rather than the binaries. If you picked up the binaries you should have just been able to install the depot in the usual way using swinstall command.


I am an HPE Employee
Accept or Kudo
Paolo_c
Valued Contributor

Re: WARNING: 'aclocal-1.15' is missing on your system when attempting compile of UnixODBC

Hi Duncan, 

So after sucessfulling installing all of the drivers/dependencies using the depot pre-compiled packages (Inc automake .16.5, autoconf 2.71 , m4 1.4.19)  i ran the unixODBc 2..3.9 compile whereupon it displayed the same error as before missing aclocal-1.15   

 

"libtool: link: ( cd ".libs" && rm -f "libinilc.la" && ln -s "../libinilc.la" "libinilc.la" )
Making all in libltdl
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/unixODBC-2.3.9/missing aclocal-1.15 -I ../m4
/tmp/unixODBC-2.3.9/missing[81]: aclocal-1.15: not found.
*** Error exit code 126"

A search on the system reveals that there is no aclocal-1.15 but was able to locate a aclocal-1.16 below (which must have come included as  automake 1.16.5 depot install i did earlier.  I tried  

/usr/local/bin/aclocal-1.16
/usr/local/share/aclocal-1.16

/usr/local/bin/aclocal --version

aclocal (GNU automake) 1.16.5
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.

 

Im not sure whether i need to export this location (export PATH=/usr/local/bin/aclocal-1.16:$PATH ?) prior to running compile of unixODBC or is UnixODBC expecting to see the older 1.15. version (and if so then presumably i need to uninstall automake 1.16.5 and install 1.15. instead ?  HP-UX Porting and Archive Centre | automake-1.15.1 (connect.org.uk)

 

 

 

Paolo_c
Valued Contributor

Re: WARNING: 'aclocal-1.15' is missing on your system when attempting compile of UnixODBC

Yesterday I tried installing automake 1.15 (containing the aclocal-1.15 file that the compilation of unixODBC keeps complaining about.) in place of automake 1.16 which id previously installed (alongside the other dependencies, to see whether that might resolve the compilation error . Prior to rerunning make on unixODBC..2.3.9 i  then exported the location of the aclocal 1.15 to $PATH but the make compile failed with the same error below as before below тШ╣ 

libtool: link: ( cd ".libs" && rm -f "libinilc.la" && ln -s "../libinilc.la" "libinilc.la" )

Making all in libltdl

  GEN      libltdl/lt__argz.h

        CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/unixODBC-2.3.9/missing aclocal-1.15 -I ../m4

/tmp/unixODBC-2.3.9/missing[81]: aclocal-1.15:  not found.

*** Error exit code 126

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

I then spoke to easysoft who developed UnixODBC and they advised running following prior to running ./configure in order to rebuild the configure script ...

# /tmp/unixODBC-2.3.9#make -f Makefile.svn 

but that bombed out with the following (and i did install libtool, libunistring & libiconv prior to running this)

*** Retrieving configure tests needed by configure.in

Make: Cannot load libtoolize.  Stop.

*** Error exit code 1

 

I sense that these all of these errors point to a problem with the setup/environment on our Server but unable to determine exactly what it is and how to resolve it so that we can successfully compile and install unixODBC ЁЯе║. I would be grateful for any feedback provided as urgently need to get this ODBC links up and running on this Server.