I am trying to build the examples on Ubuntu 11.04 but all I get from the Makefile is a bunch of errors:
./Makefile: line 18: datadir: command not found
sed: -e expression #1, char 14: unterminated `s' command
Is it possible to build those examples under Linux or the examples are meant to be built only on Win/VC++?
Thanks.
I am guessing that
Building under *nix requires two steps. First, in the root quickfix directory, type ./configure This will probe your system to find out what functionality it supports for use in determining how to build QuickFIX. After ./configure completes succesfully, simply type make to build. If you run into problems running configure, you may need to run the ./bootstrap script first.
was the solution (saeems a valid answer with which to close the question as answered)
Related
Attempting to install a new kernel.
once it is compiled, I enter:
su -c "make modules_install install"
this error populates :
sed: can't read modules.order: No such file or directory
make[1]: *** [Makefile:1304: _modinst_] Error 2
make: *** [Makefile:327: __build_one_by_one] Error 2
What is the solution?
I've had the same issue compiling Linux Kernel 5.6.14 on Debian 10.4 using config from my current working Linux Kernel 4.19.0 inside VirtualBox.
make oldconfig
make
make modules_install
gave me the same output. After commenting line CONFIG_SYSTEM_TRUSTED_KEYS in config which I copied to Linux Kernel 5.6.14 source directory and repeating from the start make took much longer and then I was able to do make modules_install.
Found here, don't know why it worked, sorry I'm new at this.
I just went thru the same thing. The problem appears to be the make commands used to build the kernel and modules. In the old days, you could just do "make bzImage" then a "make modules_install". This current results in no modules. If you are building a newer kernel, you should do "make V=1 all" then a "make modules_install". I think this streamlines the compiling of modules. It is the method recommended in the kernel admin-guide.
That is actually because you did not compile the modules. Please try make -j nproc before make modules_install again.
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.
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.
I learnt basisc about Scheme and want to try Guile.
When copied this sample here the first one and run as a script, an Error occured,
$ guile copy.scm
ERROR: no code for module (gnome-2)
My laptop runs Fedora 16 x86_64, with yum install guile*
How to deal with Guile's modules?
May be you need guile-gnome-plataform-devel?
I am trying to install SIPp on solaris sparc 5.10. when I am firing a "make"
command, it is giving me an error.
lake42.rice.iit.edu]/> make
make: Fatal error in reader: Makefile, line 22: Unexpected end of line seen
I am stuck at this point and not getting any help in web. Can you please help me
out so that I can move ahead in installing SIPp.
You probably need GNU make, and not the traditional BSD make shipped with Solaris.
Try invoking 'gmake' instead -- it might be installed in /usr/sfw/bin/gmake.
Try remove the "include" line in the file