Linux-Noob Forums

Full Version: Compiling error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Hi,

I recently started using linux (three days ago) so please excuse the potentially trivial problem that I can't seem to resolve. I am trying to compile a program called FRANz found here. I asked a few linux users at the university here and they can't seem to get the program compiled. I have also searched using the errors that pop up after running ./configure, and after installing a few packages that I apparently needed and am still at a loss. After running ./configure I get the error config.status: error: cannot find input file: `Makefile.in'. I recently updated the OS from Ubuntu to Mint 13 Maya to see if it was a problem with having a really old OS, that didn't help either.

 

Looking back up at what gets spit out during configure these are the errors I see:

 

checking gvc.h usability... no

checking gvc.h presence... no

checking for gvc.h... no

 

checking for _doprnt... no

 

For the gvc erros I installed packages graphviz and libgvc5, but they did not change anything.

I can't find much on doprnt, so maybe it is specific to the program I am trying to compile. I have gone throug the conf.log and included what I thought might be relevant. I really appreciate any help anyone could offer me. Let me know if more of the config log would be helpful.

Thanks,

AR

 

Config.log output

Thread model: posix

gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

configure:3019: $? = 0

configure:3008: gcc -V >&5

gcc: error: unrecognized option '-V'


gcc: fatal error: no input files


compilation terminated.

configure:3019: $? = 4

configure:3008: gcc -qversion >&5

gcc: error: unrecognized option '-qversion'


gcc: fatal error: no input files


compilation terminated.

configure:3019: $? = 4

configure:3039: checking whether the C compiler works

configure:3061: gcc conftest.c >&5

configure:3065: $? = 0

...

configure:3881: gcc -E conftest.c

configure:3881: $? = 0

configure:3895: gcc -E conftest.c

conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory


compilation terminated.

...

configure:3920: result: gcc -E

configure:3940: gcc -E conftest.c

configure:3940: $? = 0

configure:3954: gcc -E conftest.c

conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory


compilation terminated.

...

configure:4259: checking for pthread.h

configure:4259: result: yes

configure:4259: checking gvc.h usability

configure:4259: gcc -c -g -O2 conftest.c >&5

conftest.c:62:17: fatal error: gvc.h: No such file or directory


compilation terminated.

...

configure:4259: checking gvc.h presence


configure:4259: gcc -E conftest.c


conftest.c:29:17: fatal error: gvc.h: No such file or directory


compilation terminated.


configure:4259: $? = 1

...

| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.


| For example, HP-UX 11i <limits.h> declares gettimeofday. */


| #define _doprnt innocuous__doprnt


|

| /* System header to define __stub macros and hopefully few prototypes,


| which can conflict with char _doprnt (); below.


| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since


| <limits.h> exists even on freestanding compilers. */


|

| #ifdef __STDC__

| # include <limits.h>

| #else

| # include <assert.h>

| #endif

|

| #undef _doprnt

|

| /* Override any GCC internal prototype to avoid an error.

| Use char because int might match the return type of a GCC

| builtin and then its argument prototype would still apply. */

| #ifdef __cplusplus

| extern "C"

| #endif

| char _doprnt ();

| /* The GNU C library defines this for functions which it implements

| to always fail with ENOSYS. Some functions are actually named

| something starting with __ and the normal name is an alias. */

| #if defined __stub__doprnt || defined __stub____doprnt

| choke me

| #endif

|

| int

| main ()

| {

| return _doprnt ();

| ;

| return 0;

| }

configure:4412: result: no

configure:4426: checking for memset

...

config.status:889: error: cannot find input file: `Makefile.in'



Quote:Hi,

I recently started using linux (three days ago) so please excuse the potentially trivial problem that I can't seem to resolve. I am trying to compile a program called FRANz found here. I asked a few linux users at the university here and they can't seem to get the program compiled.

 
Does Franz have a website or community which you can search against?

 

In my experience, compilations tend to fail if you're missing some libraries (pre-requisite packages) or there is a mismatch in architecture. Is there a document detailing pre-reqs? Also, what distributions did the other Linux users try, and what errors did they receive?


Hi Dave,

There is a help forum associated with the software, but sadly there are only three posts within the forum and none are helpful. I posted here first because the last post on that forum was about a year ago. It does not appear that there is much in the way of community support for the software yet. It is possible that the author of the package might moderate the forum and could help. I will post a request for help there as well. Looking through the install file the only package that is mentioned that is required is autoconf, which I have installed. Thanks for responding so quickly.

Just a question: are you after some kind of genealogy prog, something to do family trees?

Dave, thanks for your help, the problem is resolved. The author of the package got in touch with me and gave me new source code.

 

The software is for reconstructing pedigrees. I am using it for parentage analysis of sockeye salmon. I am using genotypes from this year and assigning them to parental pairs from fish caught 3-6 years ago. Details of the program can be found here.

Okay, that's good news. Pity that the new source wasn't available elsewhere (or that the package doesn't seem to have proper community support) but glad to hear it's all going great.