sonnenblen.de - Das unabhängige Sun User Forum
Software => Programmieren, Kompilieren => Thema gestartet von: SmellyCat am 14. August 2003, 13:31:46
-
Hallo,
ich habe eine kleine Frage:
Angeblich kann man gegen SUN Gnome 2.0 Programme kompilieren. Es gibt ein essentielles File das dabei den Auschlag gibt:
gnome-config für Gnome 2.x
gnomeConf für Gnome 1.x
Ich finde zwar gnome-config.h im System aber gnome-config leider nicht:
/usr/include/libgnome-2.0/libgnome/gnome-config.h
Die Fehlermeldung die ich beim Bua von Blasa bekomme ist folgende:
---
... sh: gnome-config: not found
sh: gnome-config: not found
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxml-2.0', required by 'Bonobo Activation', not found
---
config.log sagt auch nichts anderes :(
Jemand eine Idee? Es muss doch eine Lösung geben... Gnome ist komplett installiert incl dem Developer Zeugs
Danke
bye
Mats
-
Hey,
ich weiss ja nicht ob ich blind war als ich das in deinen E-Mail sah, oder ob wir einfach beide blind sind - oder ist das vielleicht erst jetzt da? ;).
Gnome-conf ist nicht dein PRoblem. Xml ist es. Such mal die libxml.pc file und passe dann deinen PKG_CONFIG_PATH an, dann sollte es gehen.
Gruesse,
chris
-
Hi,
na schön dann libxml - auch wurscht. Habe das File aber nicht obwohl ich 2x libxml in Ver ?? auf dem System habe, einmal SUNWlxml von SUN - sprich den Solaris CDs und einmal von Gnome 2.0 namens SUNWgnome-xml-root und SUNWgnome-xml-share.
Des weiteren habe ich kein einziges File auf dem System mit Namen libxml???
Ich könnte libxml selber bauen aber da ich sehe dass es schon auf dem System ist... ein 3x? - Etwas übertrieben.
bye
Mats
-
gerade testweise libxml selber gebaut... aber
./bin:
Gesamt 116
-rwxr-xr-x 1 root other 993 Aug 14 12:29 xml-config
-rwxr-xr-x 1 root other 58324 Aug 14 12:29 xmllint
./include:
Gesamt 2
drwxr-xr-x 2 root other 512 Aug 14 12:30 libxml
./include/libxml:
Gesamt 236
-rw-r--r-- 1 root other 2514 Aug 14 12:30 debugXML.h
-rw-r--r-- 1 root other 4254 Aug 14 12:30 encoding.h
-rw-r--r-- 1 root other 4067 Aug 14 12:29 entities.h
-rw-r--r-- 1 root other 2943 Aug 14 12:30 HTMLparser.h
-rw-r--r-- 1 root other 807 Aug 14 12:30 HTMLtree.h
-rw-r--r-- 1 root other 2642 Aug 14 12:30 nanoftp.h
-rw-r--r-- 1 root other 1014 Aug 14 12:30 nanohttp.h
-rw-r--r-- 1 root other 17405 Aug 14 12:30 parser.h
-rw-r--r-- 1 root other 23324 Aug 14 12:30 parserInternals.h
-rw-r--r-- 1 root other 3073 Aug 14 12:29 SAX.h
-rw-r--r-- 1 root other 18690 Aug 14 12:30 tree.h
-rw-r--r-- 1 root other 1134 Aug 14 12:30 uri.h
-rw-r--r-- 1 root other 8241 Aug 14 12:30 valid.h
-rw-r--r-- 1 root other 4944 Aug 14 12:30 xlink.h
-rw-r--r-- 1 root other 3782 Aug 14 12:30 xml-error.h
-rw-r--r-- 1 root other 2338 Aug 14 12:30 xmlIO.h
-rw-r--r-- 1 root other 2155 Aug 14 12:30 xmlmemory.h
-rw-r--r-- 1 root other 1027 Aug 14 12:30 xmlversion.h
-rw-r--r-- 1 root other 6834 Aug 14 12:30 xpath.h
./lib:
Gesamt 5112
-rw-r--r-- 1 root other 1323292 Aug 14 12:29 libxml.a
-rwxr-xr-x 1 root other 653 Aug 14 12:29 libxml.la
lrwxrwxrwx 1 root other 15 Aug 14 12:29 libxml.so -> libxml.so.2.0.0
lrwxrwxrwx 1 root other 15 Aug 14 12:29 libxml.so.2 -> libxml.so.2.0.0
-rwxr-xr-x 1 root other 1265072 Aug 14 12:29 libxml.so.2.0.0
-rw-r--r-- 1 root other 229 Aug 14 12:29 xmlConf.sh
./share:
Gesamt 2
drwxr-xr-x 3 root other 512 Aug 14 12:29 gnome-xml
./share/gnome-xml:
Gesamt 2
drwxr-xr-x 3 root other 512 Aug 14 12:29 html
./share/gnome-xml/html:
Gesamt 2
drwxr-xr-x 2 root other 1024 Aug 14 12:29 gnome-xml
./share/gnome-xml/html/gnome-xml:
Gesamt 2102
-rw-r--r-- 1 root other 3909 Aug 14 12:29 book1.html
-rw-r--r-- 1 root other 3166 Aug 14 12:29 DOM.gif
-rw-r--r-- 1 root other 21908 Aug 14 12:29 gnome-xml-debugxml.html
-rw-r--r-- 1 root other 18605 Aug 14 12:29 gnome-xml-encoding.html
-rw-r--r-- 1 root other 31891 Aug 14 12:29 gnome-xml-entities.html
-rw-r--r-- 1 root other 5296 Aug 14 12:29 gnome-xml-error.html
-rw-r--r-- 1 root other 33352 Aug 14 12:29 gnome-xml-htmlparser.html
-rw-r--r-- 1 root other 11746 Aug 14 12:29 gnome-xml-htmltree.html
-rw-r--r-- 1 root other 33252 Aug 14 12:29 gnome-xml-nanoftp.html
-rw-r--r-- 1 root other 15370 Aug 14 12:29 gnome-xml-nanohttp.html
-rw-r--r-- 1 root other 143104 Aug 14 12:29 gnome-xml-parser.html
-rw-r--r-- 1 root other 124175 Aug 14 12:29 gnome-xml-parserinternals.html
-rw-r--r-- 1 root other 54165 Aug 14 12:29 gnome-xml-sax.html
-rw-r--r-- 1 root other 177170 Aug 14 12:29 gnome-xml-tree.html
-rw-r--r-- 1 root other 13632 Aug 14 12:29 gnome-xml-uri.html
-rw-r--r-- 1 root other 107495 Aug 14 12:29 gnome-xml-valid.html
-rw-r--r-- 1 root other 14577 Aug 14 12:29 gnome-xml-xml-error.html
-rw-r--r-- 1 root other 27473 Aug 14 12:29 gnome-xml-xmlio.html
-rw-r--r-- 1 root other 22413 Aug 14 12:29 gnome-xml-xmlmemory.html
-rw-r--r-- 1 root other 28605 Aug 14 12:29 gnome-xml-xpath.html
-rw-r--r-- 1 root other 58693 Aug 14 12:29 index.sgml
-rw-r--r-- 1 root other 3776 Aug 14 12:29 libxml-lib.html
-rw-r--r-- 1 root other 2608 Aug 14 12:29 libxml-notes.html
-rw-r--r-- 1 root other 6452 Aug 14 12:29 structure.gif
-rw-r--r-- 1 root other 47300 Aug 14 12:29 xml.html
Ist Ver 2.0 - das von Dir erwähnte File finde ich nicht, nehme dem Namen nach aber an dass es zu libxlm gehört oder?
-
vielleicht hilft mir der:
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fpatches/114814
wenn mir jem sagt wie ich die Sol 9 SPARC Version davon finde...
-
Also ich hab die Datei, beim ganz normalen Gnome2 von Sun. Irgendwas laeuft bei dir da gewaltig schief...
Ach ja, das es bei deinen selbstgebauten nicht dabei ist, kann vielleicht dran liegen das es von pkgconfig erstellt wird oder aehnliches ...
Gruesse,
chris
-
Sorry,
aber mehr als Solaris installieren, die Companion und Gnome 2.0 kann ich auch nicht... vielleicht bin ich ja einfach nur zu blöd dazu...
-
so,
nun habe ich xml und Pkgconfig von sunfreeware.com genommen (mich wundert halt das SUN eine PAtch für Gnome 2.0 auf Sol 8 anbietet das EXAKT eine Lösung für mein Problem wäre... seltsam oder? Frage mich bei wem da was schief läuft...)
So weit so gut... über xml komme ich drüber, aber:
---
checking whether to build with gpgme/RFC3156 support... no
checking for scrollkeeper-config... /usr/bin/scrollkeeper-config
checking for new_aspell_speller in -laspell... no
checking for new_pspell_manager in -lpspell... no
configure: error: *** Neither aspell >=0.50 (recommended) nor pspell (deprecated) library was found. Please check http://balsa.gnome.org for information on the required files
---
Warum er gpgme nicht frisst weiss ich nicht (Sylpheed tat es) aber aspell bzw pspell wird gebraucht...
Da der GNU FTP gehackt wurde sind ein paar Files offline, u. a. auf aspell... also pspell.
./configure rennt hier ohne Probleme durch aber make...:
Es funktioniert leider nicht, er meckert "/opt/sfw/lib/.libs/libltdl.so" an:
---
c++: /opt/sfw/lib/.libs/libltdl.so: Datei oder Verzeichnis nicht gefunden
*** Error code 1
make: Fatal error: Command failed for target `libpspell.la'
Current working directory /core/pspell-.12.2/interface
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
---
Jemand eine Idee? Bzw woher kommt dieses File? Auf dem System habe ich es nicht und einen Mirror auf dem aspell drauf ist finde ich auch nicht :(
-
Also ob die Patch genau fuer _dieses_ Problem ist mag ich aus der mageren beschreibung nicht endnehmen. Jedenfalls hier gibs es die Datei, und mein System ist sicher nicht das einziegen, sonst wuerde es sicher ein patch geben.
Zur der lib die du suchst, ich hab die selber gebaut, weiss aber nicht zu was sie gehoert, vielleicht hilft dir google weiter... du muestest aber sicher auf einen gnu mirro zugriefen koennen.
-
zugreifen kann ich - die Files sind aber weg... siehe heise.de warum
-
sooo... irgendwo in Russland gab es noch ein aspell 0.5 - diser GNU FTP Downtime nervt.
./configure rennt nun ENDLICH einwandfrei duch, aber gmake nicht :(
Schön langsam... *arg*
buffy.c: In function `mutt_buffy_free':
buffy.c:452: warning: passing arg 1 of `safe_free' from incompatible pointer type
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c charset.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c copy.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c date.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c dotlock.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c flags.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c from.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c getdomain.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c globals.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c handler.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c hash.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c init.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c lib.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c mbox.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c md5c.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c mh.c
gcc -DSHAREDIR=\"/usr/local/share\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBMUTT -I. -I./imap -I. -I./intl -g -O2 -c mx.c
mx.c: In function `mx_lock_file':
mx.c:203: `LOCK_EX' undeclared (first use in this function)
mx.c:203: (Each undeclared identifier is reported only once
mx.c:203: for each function it appears in.)
mx.c:203: `LOCK_SH' undeclared (first use in this function)
mx.c:203: `LOCK_NB' undeclared (first use in this function)
mx.c:250: `LOCK_UN' undeclared (first use in this function)
mx.c: In function `mx_unlock_file':
mx.c:271: `LOCK_UN' undeclared (first use in this function)
gmake[4]: *** [mx.o] Error 1
gmake[4]: Leaving directory `/core/balsa-2.0.13/libmutt'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/core/balsa-2.0.13/libmutt'
gmake[2]: *** [all-recursive-am] Error 2
gmake[2]: Leaving directory `/core/balsa-2.0.13/libmutt'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/core/balsa-2.0.13'
gmake: *** [all-recursive-am] Error 2
bash-2.05#
Ideen?
Balsa nervt langsam... ich bin fast versucht die 4 h Arbeit zu vergessen und weiter Sylpheed zu nutzen, aber dazu bin ich schon fast zu weit....