Automake configure script errors on Solaris with _ACEOF: cannot execute - solaris

I'm trying to run a configure script that I created using automake. It succeeds on OSs like Ubuntu, Redhat, and even AIX. But it fails to run on Solaris producing this error snippet.
configure: creating ./config.status
./configure[14670]: .[1]: _ACEOF: cannot execute [Not a directory]
configure: error: could not make ./config.status
Does anyone have ideas on why this error might be occurring on Solaris? Am I missing a dependency or a configure check that I need to account for with Solaris?

Related

Intalling pg-trajectory on windows

I am trying to install pg-trajectory on windows through mingw command window and while entering this line
$ mingw32-make PG_CONFIG=E:\PostgreSQL\9.5\bin\pg_config.exe
I am encountering this error:
Process_begin: CreateProcess(NULL, E:PostgresSQL9.5binpg_config.exe –pgxs, …) failed
Mingw32-make: *** No targets. Stop.
Is there is an alternative or solution to this? Kindly inform me
Download library from source: https://bitbucket.org/gsudmlab/pg-trajectory
Execute pg_trajectory--0.0.1.sql file.
To execute, you can copy it and paste to psql or use command \q pg_trajectory--0.0.1.sql
Make sure you installed pre-requisite (PostGIS).
Alternatively, install.sh script should work as well.

error while installing open-mpi (make : No rule to make target 'all' stop)

I am trying to install open-mpi library on Ubuntu
I downloaded it from www.open-mpi.org
I followed instructions to install it as follows
./configure --prefix=$HOME/opt/openmpi
make all
make install
when i get to make all command it gives the following error
make :*** No rule to make target 'all' Stop
I don't know what can cause such an error
I found the answer to that the error was in configuration there were no g++ and gfortran compilers
so you have either to install them using
sudo apt-get install g++ gfortran
or disable them
i have now another problem when i try to compile the code it gives me the following error
Can't open module file 'mpi.mod' for reading at (1): No such file or directory
does anyone knows the answer?

Sipp with pcap installation on windows

I am trying to install sipp with pcap-replay on winows7.
I have installed cygwnin, libncurse, and winpcap. I was trying to patch cygwin with IPv6 using the URL http://cygwin.win6.jp/cygwin-ipv6/, but it couldn't get the setup.ini file.
So I copied to local directory and upgrade, but it said no new updates.
And if I try to complie sipp. it gives error
$ ./configure.ac --with-pcap
./configure.ac: line 3: syntax error near unexpected token [SIPp],'
./configure.ac: line 3:AC_INIT([SIPp], [3.3], [sipp-users#lists.sourceforge.net], [sipp])'
Could anyone help me in getting sipp be installed on windows?
I download sipp.3.3.990 it has ./configure and was able to install on Linux.
But now on windows it still fails saying ncurse is not present. But I have downloaded it.
How do I troubleshoot it from here?
You can follow below steps to generate configure from configure.ac.
$> autoreconf -i
Now, you will see a configure file created at the same location.
To run the above command, following packages are required: automake,ncurses-devel,libncurses,M4 and autoconf.
if any of the above packages are missing run the cygwin setup file again and select the packages on the package selection screen and click install.

Cannot install Date::Calc perl module

I'm running Solaris on my machine and I would need to install the Date::Calc perl module in order for one of my scripts to work.
When I run the following command:
sudo perl -MCPAN -e 'install Date::Calc'
I get the following error:
Tests succeeded but one dependency not OK (Bit::Vector)
STBEY/Date-Calc-6.3.tar.gz
[dependencies] -- NA
Running make install
make test had returned bad status, won't install without force
I have no prior experience in Perl development, so I have no clue about what the error might be or where to get more information.
What should I do to fix this?
When trying to install Bit::Vector first, i.e. when running the following command:
sudo perl -MCPAN -e 'install Bit::Vector'
i get the following error message:
Checking if your kit is complete...
Looks good
Writing Makefile for Bit::Vector
Writing patchlevel.h for /usr/bin/perl (5.012003)
cp lib/Bit/Vector/Overload.pm blib/lib/Bit/Vector/Overload.pm
cp Vector.pm blib/lib/Bit/Vector.pm
cp Vector.pod blib/lib/Bit/Vector.pod
cp lib/Bit/Vector/Overload.pod blib/lib/Bit/Vector/Overload.pod
cp lib/Bit/Vector/String.pod blib/lib/Bit/Vector/String.pod
cp lib/Bit/Vector/String.pm blib/lib/Bit/Vector/String.pm
cc -c -DPTR_IS_LONG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -xO4 -DVERSION=\"7.2\" -DXS_VERSION=\"7.2\" -KPIC "-I/usr/perl5/5.12/lib/i86pc-solaris-64int/CORE" BitVector.c
sh: line 1: cc: not found
*** Error code 127
make: Fatal error: Command failed for target `BitVector.o'
STBEY/Bit-Vector-7.2.tar.gz
/usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
I installed gcc via the following commands (as adviced here):
pkg install gcc-45
pkg install system/header
but I still get the same error when trying to install Bit::Vector. Indeed, when I type cc on the command-line, I get the command not found error. When I type gcc, however, I get gcc: no input files.
The error means that Bit::Vector (a dependency of Date::Calc) failed to install for some reason. Bit::Vector requires compiling C code, which means your CPAN configuration will need access to the C compiler and libraries (and headers) that were used to build your perl.
From what I understand, that can sometimes be painful on Solaris.
If you have another C compiler available, you might consider building and installing a local Perl using perlbrew.
So it turns out that the only option is to install the Oracle Solaris Studio prior to installation of new perl modules which need to compile C code.
From a related discussion at Oracle Solaris forum:
CC modification in /usr/perl5/5.12/lib/i86pc-solaris-64int/Config.pm
will not resolve the compilation issue. New errors will be produced
and some part will not use this variable.
By default, this method to build modules will use perl compiled
options. And in this case, as we used Oracle Studio, this software
will be required because some options are not available with gcc.
I tried with Oracle Studio, and the compilation was done successfully.
If you want to use gcc, then this will be very tricky to modify
several perl config files. An another method is to compile manually
each necessary modules after you customize each Makefile.

Installation of distcc 3.1 on Sun Solaris

I am trying to install distcc 3.1 on one of the Sun Solaris platform.
After extracting the files to a folder I run configure (script which basically checks the required configuration).
This script throws out the following error
make: Fatal error in reader: Makefile, line 471: Unexpected end of line seen
after this if I run make or make install command I get another error and I am not able to proceed with the installation. Please help me with the correct installation process or guide me on how to resolve this Make issue.
this error occurs when the version of distcc installed is not compatible with your O.S. Install the package again this time for your own OS. Example - I installed distcc 2.13 for solaris 9 from www.sunfreeware.com.
I hope this helps !!
Thanks