LCDproc development and user support list

Text archives Help

[lcdproc] compiling/autoconf

Chronological Thread 
  • From: ppokorny AT (Philip Pokorny)
  • Subject: [lcdproc] compiling/autoconf
  • Date: Sat, 28 Apr 2001 15:27:52 -0700

Guillaume Filion wrote:
> Hi Joris,
> I spent last night swearing at autoconf/automake on another project
> (starchart), so I'm not an autoconf expert, but I'm getting used to
> it.
> The "problem" here is that lcdproc use automake and autoconf, so your
> commands should have been:

No need to be so explicit. There is a shell script that will do all
this for you!


Not sure why isn't setup with execute permissions in CVS. As
soon as I figure out how to change that I will, and then you should just
be able to do:


The script, also takes care of the missing files. As
mentioned in a later post, "automake --add-missing" will supply the
missing files automatically, which is what does...

> The configure scripts now works, if gives me a:
> checking whether the C compiler (gcc -Wall -Wp,-lang-c-c++-comments
> -Wno-unused -O6 ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
> But I guess that's another story...

Most (all) of the LCDproc source code uses C++ style comments, so
-lang-c-c++-comments is going to be required to compile the code.
-Wno-unused silences a large number of warnings that result from the way
the debug code is turned on/off in LCDproc ( "debug" is #defined to
"printf" or "" in debug.h ).

I just pulled from CVS into an empty directory and did:


And it built LCDd and the lcdproc client. I'm running RedHat 6.2 with

I've updated the INSTALL file to reflect the need to run
before running ./configure.

> >I can't get the CVS version to compile. I think it's only something
> >with autoconf, but as long as I don't have a Makefile I wont start
> >much. And I don't know anything about autoconf.
> >
> >I'm running debian 2.2 with updates. I've also tried autoconf from the
> >unstable distribution, but this doesn't help.
> >
> >This is what it sais:
> >robijn@wizard:~/src/external/lcdproc-cvs/lcdproc$ autoconf
> >autoconf: Undefined macros:
> >
> >robijn@wizard:~/src/external/lcdproc-cvs/lcdproc$ ./configure
> >creating cache ./config.cache
> >./configure: line 538: syntax error near unexpected token
> >`AM_INIT_AUTOMAKE(lcdproc,'
> >./configure: line 538: `AM_INIT_AUTOMAKE(lcdproc, 0.4-pre9)'
> >robijn@wizard:~/src/external/lcdproc-cvs/lcdproc$
> >
> >Anyone have a solution ?

To unsubscribe from this list send a blank message to
lcdproc-unsubscribe AT

Archive powered by MHonArc 2.6.18.

Top of page