Makefile error while making clean check and install libneo4j-client library - makefile

Update: It was my fault, since I do not have the library libcypher-parser installed I should have run ./configure --disable-tools. It works perfectly now :-)
It may be a silly issue, but I have a problem while completing the installation of the C library neo4j-client.
Since I have ArchLinux on my laptop I downloaded the whole repository from https://github.com/cleishm/libneo4j-client and done the following operations:
$ ./autogen.sh
$ ./configure
that completed without any error, leading to the generation of the file Makefile.in
Then I tried
$ make clean check
$ sudo make install
but the results are:
$ make: *** No rule to make target 'clean'. Stop.
$ make: *** No rule to make target 'install'. Stop.
I don't know why both targets are missing from the Makefile, but I'm stuck on this issue.
I tried to look inside Makefile.in, but there are so many targets that I don't know how to recognize the ones I need...
Please help me :-(
Thank you in advance for your time :-)

Related

Problem with Makefile: No rule to make target 'all'

I am trying to run a code on Eclipse in C, however I keep getting the same Error in my make file. I have read similar blogposts, but i can't seem to solve my problem. I am relatively new to programming and not sure what the problem is.
Here is a copy of my makefile:
#CCE_Board_Definitions:BMI085;BMI088
COINES_INSTALL_PATH ?= ../../../..
EXAMPLE_FILE ?= bmi08x_read_sensor_data.c
SHUTTLE_BOARD ?= BMI085
include $(COINES_INSTALL_PATH)/examples/examples.mk
When i try to run my code I get the following error:
mingw32-make all
mingw32-make: *** No rule to make target 'all'. Stop.
"mingw32-make all" terminated with exit code 2. Build might be incomplete.
In Properties I have renamed the build command to "mingw32-make" (because I was told to do so in the guide for this code).
Can anyone think of what the problem might be?
Thank you in advance :)
Samboff

No rule to make target error halfway down the make

On a Leopard Mac mini (PowerPC) I'm trying to compile Apple-GCC-3.3 which I got from https://opensource.apple.com/tarballs/gcc_os/gcc_os-1819.tar.gz
./configure gets completed w.o. any error but make gives the following errors:
When input only "make" it says
make: *** No rule to make target `all', needed by `default'. Stop.
When input make -f Makefile, the make starts fine but somewhere halfway down the process it stops with:
gcc tclAppInit.o -L/Users/macmini/Downloads/gcc_os-1819/tcl/unix -ltcl8.0 -lc \-o tclsh
make[1]: *** No rule to make target `all'. Stop.
make: *** [all-expect] Error 2
For this type of error, it's said that the tar might be dropping long filenames during the untar operation but I tried with different versions of tar such as 1.14, 1.27 and the error is the same.
What should I do? Thanks.
!(http://i.hizliresim.com/Kl9rRJ.png)
(Just in case you may wonder why I want to compile GCC-3.3, it's because it's needed to compile GIMP on PowerPC Macs)
Problem solved. It turned really hard to compile GCC-3.3 from source, so I made it easy and installed it from XCode 3.1 DVD, under the Packages directory where GCC-3.3.pkg was present.
Now the GIMP can be compiled.
Summary: It's a good idea to install the Apple's compiler group of programs from the XCode DVD.
Thanks.

Makefile.in:12: *** commands commence before first target. Stop

When I try to run "make clean" it gives me make: ** No rule to make target clean'. Stop.
So I do make -f Makefile.in clean
and it tells me Makefile.in:12: *** commands commence before first target. Stop.
I went into the Makefile.in and removed the tab on line 12 and retried
make -f Makefile.in clean
but then it gives me Makefile.in:12: *** missing separator. Stop.
Does anyone know what is going on here? I would really appreciate some help.
This was too long for a comment:
checking for Tcl library... not found checking for Tcl header... found /usr/local/include/tcl.h checking whether the Tcl system has changed... yes configure: error:
Tcl cannot be found on this system.
Eggdrop requires Tcl and the Tcl development files to compile. If you already have Tcl installed on this system, make sure you also have the development files (common package names include 'tcl-dev' and 'tcl-devel'). If I just wasn't looking in the right place for it, re-run ./configure using the --with-tcllib='/path/to/libtcl.so' and --with-tclinc='/path/to/tcl.h' options.
See doc/COMPILE-GUIDE's 'Tcl Detection and Installation' section for more information.
I am following this guide to get tcl installed correctly. http://botlending.com/docs/eggdrop/compile/19#19
Makefile.in is not a makefile. It's input to for the configure script, which will convert it into a makefile.
Please read the INSTALL or README file that came with the software for instructions, but typically you need to first run configure:
./configure
Then you can run make and/or make install:
make

Ruby 2's Makefile vs Cygwin

My outer problem is I'd like to get Ruby (WITH Nokogiri!) working on Win7. I'm tired of running a virtual Linux just to play with my toys.
My inner problem is this:
make[1]: *** No rule to make target ` '. Stop.
It says it can't make target 'blank'. (And, no, I have no spaces in my path.)
I get that with both ruby-2.0.0-p247 and ruby-2.0.0-r42493, which is the latest stable snapshot. I get that on CygWin with all the build tools installed, and up-to-date. I have built many things under CygWin before, including Rubies, so I don't think I need to do more than this:
tar xf stable-snapshot.tar.gz
cd ruby-2.0.0-r42493/
./configure && make
The configure part works, and the make part fails. The spew ends near:
encdb.h unchanged
making enc
make[1]: Entering directory `C:/Users/Phlip/Downloads/tools/ruby/ruby-2.0.0-r42493'
make[1]: *** No rule to make target ` '. Stop.
I can post the rest of the spew on request, but it's just the usual make spew.
A little help?

Trouble Making Spooles

I am trying to make Spooles 2.2-9 on Mint Maya linux distro and I get the following error.
aaron#atown ~/Downloads/spooles $ sudo make global
cd A2/src ; make -f makeGlobalLib
make[1]: Entering directory `/home/aaron/Downloads/spooles/A2/src'
makeGlobalLib:19: warning: overriding commands for target `.c.o'
../../Make.inc:90: warning: ignoring old commands for target `.c.o'
/usr/lang-4.0/bin/cc -c -O basics.c -o A2_basics.o
make[1]: /usr/lang-4.0/bin/cc: Command not found
make[1]: *** [basics.o] Error 127
make[1]: Leaving directory `/home/aaron/Downloads/spooles/A2/src'
make: *** [global] Error 2
I am new to linux so any help would be most useful.Thanks
Have you tried installing it from your software package manager? I know that package is provided by Ubuntu and Debian, and Mint is a derivative so it should have it available for installation. No need to build it yourself.
If you do want to compile it yourself, first note you should never build software as root (don't prefix the make command with sudo). It's possible that if there's an install step you'll need to run that as root, but generally not the build.
Second it looks like by default this package is configured to build on OSX (I think /usr/lang-4.0/bin/cc is an OSX path... maybe?). In any event, that's not where the compiler lives on Linux: try this to override the compiler:
make CC=gcc global
It's also possible that your system does not have a compiler installed. If you get an error from the above then use your software package manager to install the gcc package.

Resources