[Klone-users] Building Klone without Makl
Stefano Barbato
barbato at koanlogic.com
Tue Jan 27 03:47:17 EST 2009
Hello Kenneth,
could you try to follow the suggested compilation method found on our
site please? This is a step-by-step tutorial:
http://www.koanlogic.com/klone/tut.html
You need to set the MAKL_PLATFORM variable to cross-compile to powerpc:
---[ Makefile ]---
KLONE_VERSION ?= 2.1.1
MAKL_PLATFORM = linux-powerpc
# webapp content is in webapp/ the current dir
WEBAPP_DIR = $(CURDIR)/webapp
include klapp.mk
klapp.mk: ; wget -O $@ -c http://koanlogic.com/klone/klapp-2.0.0.mk
--------------------
bye,
s
On 27/gen/09, at 08:23, kenet3 at yahoo.com wrote:
> Hi,
>
> Here's the Makefile used.
>
> ===================================
> # Variables to be defined
> #
> # KLONE_VERSION KLone version to use (will be downloaded from
> koanlogic.com)
> #
> # SUBDIR (optional) list of additional directories to
> build on make
> #
> # WEBAPP_CFLAGS (optional) additional CFLAGS
> # WEBAPP_LDFLAGS (optional) additional LDFLAGS
> # WEBAPP_LDADD (optional) additional object files and/or static
> libs (.a)
> # (requires absolute paths)
> #
> # Predefined variables:
> #
> # KLONE_APP_TOP top-dir directory (where this Makefile is stored)
> # KLONE_SRC location of klone source tree
> #
> -include Makefile.conf
>
> # klone version to use
> KLONE_VERSION ?= 2.1.1
>
> # klone configure arguments
> KLONE_CONF_ARGS ?= \
> --prefix=$(DESTDIR) \
> --libs=$(DESTDIR)
>
> # cross-compiling (see build/makl/tc/* for the list of supported
> platforms)
> MAKL_PLATFORM ?= linux-powerpc
>
> # or provide custom toolchain file
> # KLONE_CUSTOM_TC ?=
>
> # helper libs
> # SUBDIR ?=
>
> # web application directory (defaults to webapp/ in the current dir)
> # WEBAPP_DIR ?=
>
> # additional CFLAGS, LDFLAGS and LDADD (optional, use absolute paths
> for LDADD)
> WEBAPP_CFLAGS ?= -I$(KLONE_APP_TOP) -I$(KLONE_SRC)
> WEBAPP_LDADD ?=
> WEBAPP_LDFLAGS ?=
>
> -include build/mk/klone-app.mk
>
> ===================================
>
> Thanks,
> Kenneth
>
>
>
> ----- Original Message ----
> From: Stefano Barbato <barbato at koanlogic.com>
> To: Klone users <klone-users at koanlogic.com>
> Sent: Monday, January 26, 2009 6:39:48 PM
> Subject: Re: [Klone-users] Building Klone without Makl
>
> Hello Kenneth,
>
> could you post your top-level Makefile?
>
> s
>
>
> On 26/gen/09, at 10:59, kenet3 at yahoo.com wrote:
>
>> Sorry forgot to place a subject.
>>
>> Also, the reason I don't want to use MakL is because it becomes
>> dependent on the external site to provide the latest files.
>> Now, my build is stuck trying to wget http://www.koanlogic.com/download/makl/linux-powerpc.mk
>> which does not exist anymore.
>>
>>
>>
>> ----- Original Message ----
>> From: "kenet3 at yahoo.com" <kenet3 at yahoo.com>
>> To: klone-users at koanlogic.com
>> Sent: Monday, January 26, 2009 5:54:35 PM
>> Subject: [Klone-users] (no subject)
>>
>> Hey guys,
>>
>> Can you give me some quick tip on how to build Klone without using
>> MakL ?
>> We already have a build system that does all the things for cross-
>> compiling.
>>
>> Thanks,
>> Kenneth
>>
>>
More information about the klone-users
mailing list