[solved]Cluster Glue Installation schlägt fehl

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
dante
Posts: 128
Joined: 2010-04-20 12:50
 

[solved]Cluster Glue Installation schlägt fehl

Post by dante »

Morgen zusammen,

ich ziehe gerade einen Test-Cluster hoch und brauche dazu Cluster-Glue.
Was ich bis jetzt gemacht habe:
  • Aktuelle Sourcen geladen
  • Pakete per apt installiert: autoconf,libtool,pkg-config,libglib2.0-dev,libxml2-dev,libbz2-dev
  • autogen.sh
  • ./configure (hat soweit geklappt)
Wenn ich jetzt ein make anstoße, bricht er mir mit

Code: Select all

./.libs/libplumb.so: undefined reference to `uuid_parse'
./.libs/libplumb.so: undefined reference to `uuid_generate'
./.libs/libplumb.so: undefined reference to `uuid_copy'
./.libs/libplumb.so: undefined reference to `uuid_is_null'
./.libs/libplumb.so: undefined reference to `uuid_unparse'
./.libs/libplumb.so: undefined reference to `uuid_clear'
./.libs/libplumb.so: undefined reference to `uuid_compare'
collect2: ld returned 1 exit status
make[2]: *** [ipctest] Fehler 1
make[2]: Leaving directory `/usr/src/Reusable-Cluster-Components-1c87a0c58c59/lib/clplumbing'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/Reusable-Cluster-Components-1c87a0c58c59/lib'
make: *** [all-recursive] Fehler 1
ab.

Tante Google hat mir vorgeschlagen libuuid1-devel zu installieren. Das brachte leider nix.

Hat jemand eine Idee?

Lieben Gruß
dante

P.S.: Bitte verschieben, wenns der falsche Bereich ist, ich war mir in der Auswahl etwas unsicher :?
Last edited by dante on 2010-10-04 17:06, edited 1 time in total.
User avatar
daemotron
Administrator
Administrator
Posts: 2643
Joined: 2004-01-21 17:44
 

Re: Cluster Glue Installation schlägt fehl

Post by daemotron »

Hast Du nach der Installation von libuuid1-devel noch mal ein make clean losgelassen, bevor Du noch mal make gestartet hast?
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” — Terry Pratchett, Thief of Time
User avatar
Joe User
Project Manager
Project Manager
Posts: 11189
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Cluster Glue Installation schlägt fehl

Post by Joe User »

Vor Allem ein neuer ./configure run, damit die neuen Header auch dort schon berücksichtigt werden können.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
dante
Posts: 128
Joined: 2010-04-20 12:50
 

Re: Cluster Glue Installation schlägt fehl

Post by dante »

Hallochen,

habe die Tips mal verfolgt. Hat soweit funktioniert, nur gibts nun nen neuen Fehler:

Code: Select all

cc1: warnings being treated as errors
main.c:64: error: function declaration isn’t a prototype
main.c:78: error: function declaration isn’t a prototype
Ich habe gelesen, mit entfernen des -werror Flags könnte man das beheben, ist das sinnvoll? Falls ja, wie entferne ich dieses Flag ;) ?

Gruß
dante
User avatar
Joe User
Project Manager
Project Manager
Posts: 11189
Joined: 2003-02-27 01:00
Location: Hamburg
 

Re: Cluster Glue Installation schlägt fehl

Post by Joe User »

Sinnvoll ist das Entfernen von -werror nicht, aber wenn es nur diese zwei Fehlermeldungen gibt, dann ist es ausnahmsweise und nur für diese Version zu verschmerzen. Einen gleichzeitigen Bugreport beim Softwarehersteller setze ich in diesem Fall dann aber zwingend voraus!

Die Deklaration der Option sollte im entsprechenden Makefile zu finden sein.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
User avatar
daemotron
Administrator
Administrator
Posts: 2643
Joined: 2004-01-21 17:44
 

Re: Cluster Glue Installation schlägt fehl

Post by daemotron »

Die Flags (CFLAGS) sind ev. in Makefile.am gesetzt - nach einer Änderung muss configure noch mal ausgeführt werden; ev. sogar autogen.sh.
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” — Terry Pratchett, Thief of Time
dante
Posts: 128
Joined: 2010-04-20 12:50
 

Re: [solved]Cluster Glue Installation schlägt fehl

Post by dante »

Moin zurück,

hat nun alles funktioniert.
Ich habe bei der Cluster Glue Installation das configure mit dem Parameter --enable-fatal-warnings=no rennen lassen.
Ist zwar nicht elegant, aber hat funktioniert.

Gruß
dante