[CMake] CMake 2.8.3: find_package(Java) on HP-UX gives warning "regex not supported"

Gerhard Grimm gerhard.grimm at betasystems.com
Mon Jan 10 12:47:25 EST 2011


Hello Bill,

it's issue #11676.

Best Regards, Gerhard
-- 
Gerhard Grimm
Software Engineering
DETEC Software GmbH (Beta Systems Group)



From:
Bill Hoffman <bill.hoffman at kitware.com>
To:
cmake at cmake.org
Date:
10.01.2011 18:12
Subject:
Re: [CMake] CMake 2.8.3: find_package(Java) on HP-UX gives warning "regex 
not supported"
Sent by:
cmake-bounces at cmake.org



Can you create a bug entry for this?

On 1/10/2011 7:39 AM, Gerhard Grimm wrote:
> Hello there,
>
> recently I upgraded the CMake installation on our HP-UX 11.23 (IA64)
> system from 2.6.4 to 2.8.3.
> The system has HP's Java Runtime Environment installed in /opt/java6(the
> environment variable JAVA_HOMEis set accordingly). When calling
> find_package(Java REQUIRED)in a CMakeLists.txt file, the following
> warning is issued:
>
> CMake Warning at /usr/local/share/cmake-2.8/Modules/FindJava.cmake:118
> (message):
> regex not supported: java version "1.6.0.06"
>
> Java(TM) SE Runtime Environment (build
> 1.6.0.06-jinteg_20_jan_2010_05_50-b00)
>
> Java HotSpot(TM) Server VM (build 14.3-b01-jre1.6.0.06-rc1, mixed mode).
> Please report
> Call Stack (most recent call first):
> CMakeLists.txt:171 (find_package)
>
>
> -- Java version .. configured successfully!
> -- Found Java: /opt/java6/bin/java (found version "..")
>
> Looking at line 108 in FindJava.cmake, it becomes clear that the version
> number reported by javais expected to have the format "1.6.0_06". The
> problem can thus be fixed by extending the regular expressions used to
> extract the version information (the fixed version is attached below).
>
>
> Best Regards, Gerhard
> -- *
> Gerhard Grimm*
> Software Engineering
> *DETEC Software GmbH (Beta Systems Group)*
-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake



Save Paper: Think Before You Print Beta Systems Email Disclaimer and Email 
Impressum 
Beta Systems email messages are confidential. They may also be privileged 
or otherwise protected by work product immunity orother legal rules. If 
you have received an email by mistake please let us know by reply and then 
delete it from your system; you should not copy it or disclose its 
contents to anyone. All messages sent to and from Beta Systems may be 
monitored to ensure compliance with internal policies and to protect our 
business. Emails are not secure and cannot be guaranteed to be error free 
as they can be intercepted, amended, lost or destroyed, or contain 
viruses. Anyone who communicates with us by email is taken to accept these 
risks.Beta Systems Email-Sicherheitsinformation 
Die Inhalte der Emails von Beta Systems sind vertraulich. Sie unterliegen 
darüber hinaus ggf. dem Schutz von Arbeitsergebnissen oder sind 
anderweitig rechtlich geschützt. Falls Sie diese Email irrtümlich erhalten 
haben, benachrichtigen Sie uns bitte unverzüglich und löschen Sie 
anschließend die Email. Es ist untersagt, diese Email oder deren Inhalt zu 
kopieren oder Dritten zugänglich zu machen. Wir behalten uns das Recht 
vor, jegliche an bzw. von Beta Systems gesendeten Nachrichten zu 
überprüfen, um die Einhaltung unserer internen Richtlinien sowie die 
Wahrung unserer Geschäftsinteressen zu gewährleisten. Da Emails nicht 
sicher sind, kann eine fehlerfreie Übermittlung nicht gewährleistet 
werden. Emails können abgefangen und modifiziert oder zerstört werden, 
verloren gehen oder Viren enthalten. Die Kommunikation mit Beta Systems 
per Email geschieht auf eigene Gefahr. 
Mandatory Information for business email according to German trade laws / 
Pflichtangaben für geschäftliche Emails gemäß Handelsgesetzbuch und 
Aktiengesetz: 
Beta Systems Software AG
Alt-Moabit 90d
10559 Berlin
Germany
Phone: +49-(0)30-726 118-0
Fax: +49-(0)30-726 118-800
info at betasystems.com

Chairman of the supervisory board / Vorsitzender des Aufsichtsrats: Dr. 
Günter Lewald
Management board / Vorstand: Jürgen Herbott (CEO/Vorstandsvorsitzender), 
Gernot Sagl (CFO)
Legal form / Rechtsform: Aktiengesellschaft
Registered office / Sitz: Berlin
Commercial register / Handelsregister: Berlin Charlottenburg, HRB 38 874
Ust-ID-Nr.: DE 136572034, St.-Nr.: DE 29/1/3927
Bank / Bankverbindung: Deutsche Bank Berlin, BLZ 10070000
Account No / Konto-Nr.: 0680488
BIC DEUTDEBB, IBAN: DE94 1007 0000 0068 0488 00
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110110/e7d72b8c/attachment.htm>


More information about the CMake mailing list