From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.gantner.com ([213.33.89.106]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UUHPD-0002eO-Hq for ptxdist@pengutronix.de; Mon, 22 Apr 2013 16:07:52 +0200 From: Stranz Jan-Marc Date: Mon, 22 Apr 2013 14:05:18 +0000 Message-ID: <9E0B7EF1EDF3FF49A8B173782CCEC62D04C5AA37@gea-exchange-02.net.gantner.com> Content-Language: de-DE Content-Type: multipart/mixed; boundary="_004_9E0B7EF1EDF3FF49A8B173782CCEC62D04C5AA37geaexchange02ne_" MIME-Version: 1.0 Subject: [ptxdist] PTXdist: New cmake package (webtoolkit wt) Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --_004_9E0B7EF1EDF3FF49A8B173782CCEC62D04C5AA37geaexchange02ne_ Content-Type: multipart/alternative; boundary="_000_9E0B7EF1EDF3FF49A8B173782CCEC62D04C5AA37geaexchange02ne_" --_000_9E0B7EF1EDF3FF49A8B173782CCEC62D04C5AA37geaexchange02ne_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm using "ptxdist-2013.01.0" for building a root filesystem. Now I'm going to bring a new package into my BSP project. This package is a "C++ Web Toolkit" ("wt", http://www.webtoolkit.eu/wt/down= load). You have to use "cmake" in order to build this package; I'm using "cmake-2.= 8.2". I created new rules for that package with ptxdist newpackage target But these rules a based on "autotools" rather than on "cmake". So I created a new package with ptxdist newpackage src-cmake-prog in order to see the build steps for a project based on "cmake". I have adapted my rule file "wt.make": ... # -------------------------------------------------------------------------= --- # Prepare # -------------------------------------------------------------------------= --- #CMAKE_PROG_CONF_ENV :=3D $(CROSS_ENV) # # cmake # CMAKE_PROG_CONF_TOOL :=3D cmake #CMAKE_PROG_CONF_OPT :=3D $(CROSS_CMAKE_USR) ... Unfortunately I got a lot of error messages: user1@GInsPTXdist:~/PTXdist/bsp-gins-qreader$ ptxdist prepare wt ------------------ target: wt.prepare ------------------ Re-run cmake no build system arguments CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:92 (= MESSAGE): Could not find toolchain file: /home/user1/PTXdist/bsp-gins-qreader/platform-gins-qreader/state/config/t= oolchain-target.cmake Call Stack (most recent call first): CMakeLists.txt:11 (PROJECT) CMake Error: Error required internal CMake variable not set, cmake may be n= ot be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be n= ot be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file:/home/user1/PTXdist/bsp-gins-= qreader/platform-gins-qreader/build-target/wt-3.2.3-build/CMakeFiles/CMakeC= Compiler.cmake CMake Error: Error required internal CMake variable not set, cmake may be n= ot be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be n= ot be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file:/home/user1/PTXdist/bsp-gins-= qreader/platform-gins-qreader/build-target/wt-3.2.3-build/CMakeFiles/CMakeC= XXCompiler.cmake CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! make: *** [/home/user1/PTXdist/bsp-gins-qreader/platform-gins-qreader/state= /wt.prepare] Error 1 What should I do? Is there an application note for a packages based on "cmake"? Thanks for any tips! Best regards, Jan-Marc. _____________________________ Gantner Instruments GmbH Montafonerstra=DFe 8 A-6780 Schruns Tel.: +43 5556 77463-200 Fax: +43 5556 77463-300 mailto:jm.stranz@gantner-instruments.com http://www.gantner-instruments.com FN 245174a LG Feldkirch, UID ATU57733723 Gesch=E4ftsf=FChrer: Werner Ganahl, Reinhard Kehrer Diese E-Mail kann vertrauliche und/oder rechtlich gesch=FCtzte Informatione= n enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail ir= rt=FCmlich erhalten haben, informieren Sie bitte sofort den Absender und l= =F6schen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weiter= gabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you = are not the intended recipient (or have received this e-mail in error), ple= ase notify the sender immediately and delete this e-mail. Any unauthorised = copying, disclosure or distribution of the material in this e-mail is prohi= bited --_000_9E0B7EF1EDF3FF49A8B173782CCEC62D04C5AA37geaexchange02ne_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello,

 

I’m using „ptxdist-= 2013.01.0“ for building a root filesystem.

 

Now I’m going to bring a = new package into my BSP project.

This package is a “C+= + Web Toolkit” (“wt”, http://www.webtoolkit.eu/w= t/download).

You have to use “cmake= 221; in order to build this package; I’m using “cmake-2.8.2R= 21;.

 

I created new rules for that pa= ckage with

ptxdist newpackage target

But these rules a based on R= 20;autotools” rather than on “cmake”.

 

So I created a new package with=

ptxdist newpackage src-cmake-prog

in order to see the build steps= for a project based on “cmake”.

 

I have adapted my rule file = 220;wt.make”:

# ----------------------------------------------------------= ------------------

# Prepare

# ----------------------------------------------------------= ------------------

 

#CMAKE_PROG_CONF_ENV :=3D $(CROSS_ENV)

 

#

# cmake

#

CMAKE_PROG_CONF_TOOL :=3D cmake

#CMAKE_PROG_CONF_OPT :=3D $(CROSS_CMAKE_USR)

 

Unfortunately I got a lot of er= ror messages:

 

user1@GInsPTXdist:~/PTXdist/bsp-gins-qreader$ ptxdist prepar= e wt

 

------------------

target: wt.prepare

------------------

 

Re-run cmake no build system arguments

CMake Error at /usr/share/cmake-2.8/Modules/CMakeDetermineSy= stem.cmake:92 (MESSAGE):

  Could not find toolchain file:

  /home/user1/PTXdist/bsp-gins-qreader/platform-gins-qr= eader/state/config/toolchain-target.cmake

Call Stack (most recent call first):

  CMakeLists.txt:11 (PROJECT)

 

CMake Error: Error required internal CMake variable not set,= cmake may be not be built correctly.

Missing variable is:

CMAKE_C_COMPILER_ENV_VAR

CMake Error: Error required internal CMake variable not set,= cmake may be not be built correctly.

Missing variable is:

CMAKE_C_COMPILER

CMake Error: Could not find cmake module file:/home/user1/PT= Xdist/bsp-gins-qreader/platform-gins-qreader/build-target/wt-3.2.3-build/CM= akeFiles/CMakeCCompiler.cmake

CMake Error: Error required internal CMake variable not set,= cmake may be not be built correctly.

Missing variable is:

CMAKE_CXX_COMPILER_ENV_VAR

CMake Error: Error required internal CMake variable not set,= cmake may be not be built correctly.

Missing variable is:

CMAKE_CXX_COMPILER

CMake Error: Could not find cmake module file:/home/user1/PT= Xdist/bsp-gins-qreader/platform-gins-qreader/build-target/wt-3.2.3-build/CM= akeFiles/CMakeCXXCompiler.cmake

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage<= o:p>

CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguag= e

-- Configuring incomplete, errors occurred!

make: *** [/home/user1/PTXdist/bsp-gins-qreader/platform-gin= s-qreader/state/wt.prepare] Error 1<= /span>

 

What should I do?

Is there an application note fo= r a packages based on “cmake”?

 

Thanks for any tips!
 
Best regards,

Jan-Marc.

___________________________= __

 

Gantner Instruments GmbH<= /span><= /p>

Montafonerstra=DFe 8<= span style=3D"font-size:9.0pt;color:#1F497D">

A-6780 Schruns

Tel.: +43= 5556 77463-200

Fax: +43 = 5556 77463-300

mailto:j= m.stranz@gantner-instruments.com

http://www.gantner-instrumen= ts.com=

FN 245174a LG Feldkirch, UID= ATU57733723

Gesch=E4ftsf=FChrer: Werner = Ganahl, Reinhard Kehrer

 

Diese E-Mail kann vertrauliche und/oder rech= tlich gesch=FCtzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt=FCmlich erhalten haben, info= rmieren Sie bitte sofort den Absender und l=F6schen Sie diese Mail. Das une= rlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gesta= ttet.

This e-mail may contain confi= dential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sende= r immediately and delete this e-mail. Any unauthorised copying, disclosure = or distribution of the material in this e-mail is prohibited

 

--_000_9E0B7EF1EDF3FF49A8B173782CCEC62D04C5AA37geaexchange02ne_-- --_004_9E0B7EF1EDF3FF49A8B173782CCEC62D04C5AA37geaexchange02ne_ Content-Type: application/octet-stream; name="wt.make" Content-Description: wt.make Content-Disposition: attachment; filename="wt.make"; size=2458; creation-date="Mon, 22 Apr 2013 13:58:57 GMT"; modification-date="Mon, 22 Apr 2013 13:43:05 GMT" Content-Transfer-Encoding: base64 IyAtKi1tYWtlZmlsZS0qLQojCiMgQ29weXJpZ2h0IChDKSAyMDEzIGJ5IEphbi1NYXJjIFN0cmFu egojCiMgU2VlIENSRURJVFMgZm9yIGRldGFpbHMgYWJvdXQgd2hvIGhhcyBjb250cmlidXRlZCB0 byB0aGlzIHByb2plY3QuCiMKIyBGb3IgZnVydGhlciBpbmZvcm1hdGlvbiBhYm91dCB0aGUgUFRY ZGlzdCBwcm9qZWN0IGFuZCBsaWNlbnNlIGNvbmRpdGlvbnMKIyBzZWUgdGhlIFJFQURNRSBmaWxl LgojCgojCiMgV2UgcHJvdmlkZSB0aGlzIHBhY2thZ2UKIwpQQUNLQUdFUy0kKFBUWENPTkZfV1Qp ICs9IHd0CgojCiMgUGF0aHMgYW5kIG5hbWVzCiMKV1RfVkVSU0lPTgk6PSAzLjIuMwpXVF9NRDUJ CTo9IDU4OTIyYmE1ZDY4MTA0ODgwYWRiZTJlMDIyMTMyZmI1CldUCQk6PSB3dC0kKFdUX1ZFUlNJ T04pCldUX1NVRkZJWAk6PSB0YXIuZ3oKV1RfVVJMCQk6PSBodHRwOi8vc291cmNlZm9yZ2UubmV0 L3Byb2plY3RzL3dpdHR5L2ZpbGVzL3d0LzMuMi4zLyQoV1QpLiQoV1RfU1VGRklYKQpXVF9TT1VS Q0UJOj0gJChTUkNESVIpLyQoV1QpLiQ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B5LCB3 dCwgMCwgMCwgMDc1NSwgJChXVF9ESVIpL2Zvb2JhciwgL2Rldi9udWxsKQoKCUAkKGNhbGwgaW5z dGFsbF9maW5pc2gsIHd0KQoKCUAkKGNhbGwgdG91Y2gpCgojIC0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0K IyBDbGVhbgojIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KCiMkKFNUQVRFRElSKS93dC5jbGVhbjoKIwlA JChjYWxsIHRhcmdldGluZm8pCiMJQCQoY2FsbCBjbGVhbl9wa2csIFdUKQoKIyB2aW06IHN5bnRh eD1tYWtlCg== --_004_9E0B7EF1EDF3FF49A8B173782CCEC62D04C5AA37geaexchange02ne_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --_004_9E0B7EF1EDF3FF49A8B173782CCEC62D04C5AA37geaexchange02ne_--