Re: EB-lite complie errors

Meredydd <[email protected]> Wed, 23 Jun 2004 11:56:09 +0100
Newsgroups gmane.network.everybuddy.user
Message-ID <[email protected]>
Heya,
	The first thing to check is whether you're building on top of an old 
codebase. Have you extracted the alpha-12 tarball on top of something 
you've already checked out of Subversion, or another release? If so, 
try extracting it into a separate direction, and/or doing a "make 
clean" and trying again.

	If this is the first time you've tried to build eb-lite, and "make 
clean" didn't fix your problem, a quick and extremely dirty way of 
making it work would be to put at the top of core/plugins/irc/irc.c 
something like:

#define PACKAGE "eb-lite"

which should get it past this error, but from the sound of things 
something in the bowels of the build system is nice and broken, so 
there's a good chance you'll just hit another one.

	Can anyone else reproduce this? It's working fine for me...

Meredydd

On Wednesday 23 June 2004 03:24, Christian Talsness wrote:
> I'm running Mandrake 10 and trying to compile eb-lite alpha 12 and
> get the following errors when running make:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -g -O2 -c irc.c -MT
> irc.lo -MD -MP -MF .deps/irc.TPlo  -fPIC -DPIC -o .libs/irc.lo
> irc.c: In function `eb_irc_process_message':
> irc.c:1170: error: `PACKAGE' undeclared (first use in this function)
> irc.c:1170: error: (Each undeclared identifier is reported only once
> irc.c:1170: error: for each function it appears in.)
> irc.c:1170: error: parse error before string constant
> make[3]: *** [irc.lo] Error 1
> make[3]: Leaving directory
> `/home/ctalsness/eb-lite-alpha-12/core/plugins/irc' make[2]: ***
> [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/ctalsness/eb-lite-alpha-12/core/plugins' make[1]: ***
> [all-recursive] Error 1
> make[1]: Leaving directory `/home/ctalsness/eb-lite-alpha-12/core'
> make: *** [all] Error 2
>
> You can look at all the output from ./configure and make at
> http://christian.talsness.com/eb-lite_errors.txt
> It looks to me like something isn't happy about IRC.  Any help would
> be appreciated.
>
> Christian R. Talsness
> _______________________________________________
> Everybuddy mailing list
> [email protected]
> http://lists.spine.cx/listinfo/everybuddy