![]() |
| | #1 |
| Registered User Join Date: Dec 2004
Posts: 25
| compiling a program that has no configure script Code: $ cd R-1.9.0/tests/Embedding/ $ ./configure -/bin/bash: ./configure: No such file or directory $ make make: *** No targets specified and no makefile found. Stop. $ aclocal aclocal-1.9: `configure.ac' or `configure.in' is required $ automake automake-1.9: `configure.ac' or `configure.in' is required $ autoconf autoconf-2.59: no input file what do i have to do to build it? thanks. |
| serfurj is offline | |
| | #2 | |
| Registered User Join Date: Sep 2004 Location: Aurora CO
Posts: 266
| Have you tried make -f <name of makefile>? In your case make -f Makefile.in. Quote:
| |
| Scribbler is offline | |
| | #3 |
| Registered User Join Date: Dec 2004
Posts: 25
| here's what happens: Code: $ make -f Makefile.in Makefile.in:11: ../../Makeconf: No such file or directory make: *** No rule to make target `../../Makeconf'. Stop. Code: $ make -f Makefile.in ../../Makeconf:4: @top_srcdir@/share/make/vars.mk: No such file or directory ../../Makeconf:98: *** missing separator. Stop. |
| serfurj is offline | |
| | #4 |
| and the hat of Jobseeking Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,680
| How about just make Maybe the makefile (not the makefile.in) is simple enough not to need a configuration. |
| Salem is offline | |
| | #5 |
| Cat without Hat Join Date: Apr 2003
Posts: 8,492
| Or rather, the program is simple enough not to need platform adaption. Or the programmer never intended to target any platform but Linux. OR If a Makefile.in exists, then the programmer probably didn't run autoconf himself. Type: autoconf and it should generate the configure script. Then do ./configure to configure and make to build.
__________________ All the buzzt! CornedBee"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code." - Flon's Law |
| CornedBee is offline | |
| | #6 |
| Registered User Join Date: Dec 2004
Posts: 25
| Code: $ autoconf autoconf-2.59: no input file Code: $ make make: *** No targets specified and no makefile found. Stop. |
| serfurj is offline | |
| | #7 |
| and the hat of Jobseeking Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,680
| How about make all Or even just posting more information so we don't keep guessing....... |
| Salem is offline | |
| | #8 | |
| Registered User Join Date: Dec 2004
Posts: 25
| Code: $ make all make: *** No rule to make target `all'. Stop. Quote:
here is what i'm trying to build (it depends on R libraries): http://129.109.84.26/r.tar.gz | |
| serfurj is offline | |
| | #9 |
| Cat without Hat Join Date: Apr 2003
Posts: 8,492
| OK, some research showed me your problem. You're trying to compile part of a larger source tree. The configure script is two directories above the thing you're trying to compile. As shown here: https://svn.r-project.org/R/trunk/ You're trying to compile only the tests/Embedding subdirectory. You need the whole source.
__________________ All the buzzt! CornedBee"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code." - Flon's Law |
| CornedBee is offline | |
| | #10 |
| Registered User Join Date: Dec 2004
Posts: 25
| ah, i see. that's supposed to be an example of how to embed R into your C program, so i figured it was self-contained. thanks for the help! |
| serfurj is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Program Plan | Programmer_P | C++ Programming | 0 | 05-11-2009 01:42 AM |
| Stray Error while compiling | Mankthetank19 | C Programming | 4 | 12-02-2008 05:55 AM |
| Screwy Linker Error - VC2005 | Tonto | C++ Programming | 5 | 06-19-2007 02:39 PM |
| compiling a program that is splitted in several files with gcc | incognito54 | C Programming | 3 | 04-19-2004 08:09 AM |
| Help compiling a program | jjj93421 | C++ Programming | 1 | 03-08-2004 06:38 PM |