Re: include was? [auf Vire n überprüft]

David Haller <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hallo,

Entschuldige die lange Verzoegerung.

Am Mon, 13 Mar 2006, Hans Moser schrieb:
>David Haller schrieb:
>>>Wenn ich export LDFLAGS="-L/mail/lib" setze, wird vorher schon SSL 
>>>nicht mehr gefunden. libssl.a liegt auch in /mail/lib
>>Das widerspricht sich.
>Was widerspricht sich?

Dass die libssl dann nicht gefunden wird... Hast du libssl.so* in
/mail/lib/? Und evtl. noch in /lib/ oder /usr/lib oder /usr/local/lib
eine libssl.so*?

>>'-I/mail/lib' ist Unfug. Und offenbar von dir gesetzt.
>*"Lange Stange im Nebel"-Modus*

-I gibt include-Verzeichnisse an, und in lib/ sollten keine Header
liegen... Und normalerweise taucht das nicht auf...

>>echo $CFLAGS echo $LDFLAGS
>Ich weiß nicht, ob das sinnvoll ist, weil ich diese Werte zuerst gar
>nicht und dann noch bestem Nichwissen gesetzt habe, aber gut, aktuell:
>LDFLAGS=       # leer
>CFLAGS=        # leer
>CPPFLAGS=-I/mail/include -I/mail/include/openssl
>
>>deinen ./configure Aufruf
>./configure --prefix=/mail --with-cyrus-sasl --include-dir=/mail/include
>--with-tls --enable-ldap

Versuch's mal mit:

LDFLAGS="-L/mail/lib -lssl -lsasl2" \
CFLAGS="-I/mail/include -I/mail/include/openssl" \
./configure \
    --prefix=/mail \
    --include-dir=/mail/include \
    --with-cyrus-sasl --with-tls --enable-ldap

>[Wenn es irgendwo mal Hinweise zum allgemeinen Kompilieren von OSS gibt,
>die irgendwo zwischen "configure, make, make install aufrufen" und einer
>kompletten C/C++-EinfÌhrung liegen, wÀre ich fÌr jeden Hinweis dankbar.]

Hm. Schon auf selflinux.de geschaut?

-dnh

-- 
Malicious software is so rampant that the average time it takes for an
unpatched Windows XP to be compromised after connecting it directly to the
Internet is 16 minutes -- less time than it takes to download and install
the patches that would help protect that PC.
    -- Nicholas Petreley on theregister.co.uk

-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfÃŒgbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.