|
View:
New views
14 Messages
—
Rating Filter:
Alert me
|
|
|
Compiling XMail 1.25 fails on OSX LeopardCompiling fails with
$ OSTYPE=Darwin make -f Makefile.bsd gcc -o bin/MkMachDep MkMachDep.o -lssl -lcrypto -lkvm -lpthread ld: library not found for -lkvm collect2: ld returned 1 exit status make: *** [bin/MkMachDep] Error 1 OpenSSL comes with Leopard's XCode Tools and is installed here: $ ls /usr/lib/libssl* -rwxr-xr-x 1 root wheel 915536 24 Sep 2007 /usr/lib/libssl. 0.9.7.dylib -rwxr-xr-x 1 root wheel 223280 24 Sep 2007 /usr/lib/libssl.0.9.dylib lrwxr-xr-x 1 root wheel 18 11 Apr 19:05 /usr/lib/libssl.dylib - > libssl.0.9.7.dylib Any hints ? Thank you very much, Harald - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
|
|
|
|
|
Re: Compiling XMail 1.25 fails on OSX LeopardI see
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libkvm.dylib which is not in the system's search path. Anything I can tweak with this ? -- Harald Am 28.04.2008 um 15:27 schrieb CLEMENT Francis: >> -----Message d'origine----- >> De : xmail-bounce@... >> [mailto:xmail-bounce@...]De la part de Harald Schneider >> Envoy=E9 : lundi 28 avril 2008 13:31 >> =C0 : xmail@... >> Objet : [xmail] Compiling XMail 1.25 fails on OSX Leopard >> >> >> Compiling fails with >> >> $ OSTYPE=3DDarwin make -f Makefile.bsd >> gcc -o bin/MkMachDep MkMachDep.o -lssl -lcrypto -lkvm -lpthread >> ld: library not found for -lkvm >> collect2: ld returned 1 exit status >> make: *** [bin/MkMachDep] Error 1 >> >> OpenSSL comes with Leopard's XCode Tools and is installed here: >> >> $ ls /usr/lib/libssl* >> -rwxr-xr-x 1 root wheel 915536 24 Sep 2007 /usr/lib/libssl.=20 >> 0.9.7.dylib >> -rwxr-xr-x 1 root wheel 223280 24 Sep 2007=20 >> /usr/lib/libssl.0.9.dylib >> lrwxr-xr-x 1 root wheel 18 11 Apr 19:05 /usr/lib/ >> libssl.dylib - = > >>> libssl.0.9.7.dylib >> >> Any hints ? >> >> >> Thank you very much, >> Harald >> > > As said in the "ld: library not found for -lkvm" error, seems your = > problem > is not relative to OpenSSL but with -lkvm option :) > So related to the "kernel virtual memory" in BSD like systems. > > Can you find any '*kvm*' file in standard places ? ("/usr/lib", > "'/usr/local/lib", ...) > > Notice that, in this article = > http://www.macmyth.com/book/bonus/chapter8/kma/ > seems the kvm lib and related mem and kmem devices was no more = > available on > Mac OS X > "The kvm library needs the memory devices for its operation. > Therefore, = > it > is obsoleted in the x86 version of Mac OS X." > > So, has Leopard is not exactly Darwin (open-source) and vice-versa, = > perhabs > the xmail makefile and/or code need some tweak for Mac OS X Leopard ? > > Does someone tried compile xmail 1.25 on last 'darwin' version to = > compare > results ? > > Francis > > > > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to ecartis@... > For general help: send the line "help" in the body of a message to > ecartis@... > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
|
|
|
|
|
Re: Compiling XMail 1.25 fails on OSX LeopardSame result :-/
-- Harald Am 28.04.2008 um 17:52 schrieb CLEMENT Francis: > You could try to copy it to /usr/bin or make a link to it in /usr/ > bin = > then > retry compile xmail. > (post results here in any cases :) ) > > Francis > > >> -----Message d'origine----- >> De : xmail-bounce@... >> [mailto:xmail-bounce@...]De la part de Harald Schneider >> Envoy=E9 : lundi 28 avril 2008 16:35 >> =C0 : xmail@... >> Objet : [xmail] Re: Compiling XMail 1.25 fails on OSX Leopard >> >> >> I see >> /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libkvm.dylib >> >> which is not in the system's search path. Anything I can tweak with >> =20 >> this ? >> >> -- Harald >> >> >> >> Am 28.04.2008 um 15:27 schrieb CLEMENT Francis: >> >>>> -----Message d'origine----- >>>> De : xmail-bounce@... >>>> [mailto:xmail-bounce@...]De la part de Harald Schneider >>>> Envoy=3DE9 : lundi 28 avril 2008 13:31 >>>> =3DC0 : xmail@... >>>> Objet : [xmail] Compiling XMail 1.25 fails on OSX Leopard >>>> >>>> >>>> Compiling fails with >>>> >>>> $ OSTYPE=3D3DDarwin make -f Makefile.bsd >>>> gcc -o bin/MkMachDep MkMachDep.o -lssl -lcrypto -lkvm -lpthread >>>> ld: library not found for -lkvm >>>> collect2: ld returned 1 exit status >>>> make: *** [bin/MkMachDep] Error 1 >>>> >>>> OpenSSL comes with Leopard's XCode Tools and is installed here: >>>> >>>> $ ls /usr/lib/libssl* >>>> -rwxr-xr-x 1 root wheel 915536 24 Sep 2007 = > /usr/lib/libssl.=3D20 >>>> 0.9.7.dylib >>>> -rwxr-xr-x 1 root wheel 223280 24 Sep 2007=3D20 >>>> /usr/lib/libssl.0.9.dylib >>>> lrwxr-xr-x 1 root wheel 18 11 Apr 19:05 /usr/lib/=20 >>>> libssl.dylib - =3D >>> >>>>> libssl.0.9.7.dylib >>>> >>>> Any hints ? >>>> >>>> >>>> Thank you very much, >>>> Harald >>>> >>> >>> As said in the "ld: library not found for -lkvm" error, seems your = > =3D >>> problem >>> is not relative to OpenSSL but with -lkvm option :) >>> So related to the "kernel virtual memory" in BSD like systems. >>> >>> Can you find any '*kvm*' file in standard places ? ("/usr/lib", >>> "'/usr/local/lib", ...) >>> >>> Notice that, in this article =3D >>> http://www.macmyth.com/book/bonus/chapter8/kma/ >>> seems the kvm lib and related mem and kmem devices was no more =3D >>> available on >>> Mac OS X >>> "The kvm library needs the memory devices for its operation. =20 >>> Therefore, =3D >>> it >>> is obsoleted in the x86 version of Mac OS X." >>> >>> So, has Leopard is not exactly Darwin (open-source) and vice- >>> versa, = > =3D >>> perhabs >>> the xmail makefile and/or code need some tweak for Mac OS X >>> Leopard = > ? >>> >>> Does someone tried compile xmail 1.25 on last 'darwin' version to = > =3D >>> compare >>> results ? >>> >>> Francis >>> >>> >>> >>> >>> - >>> To unsubscribe from this list: send the line "unsubscribe xmail" in >>> the body of a message to ecartis@... >>> For general help: send the line "help" in the body of a message to >>> ecartis@... >>> >> >> >> >> >> >> >> >> - >> To unsubscribe from this list: send the line "unsubscribe xmail" in >> the body of a message to ecartis@... >> For general help: send the line "help" in the body of a message to >> ecartis@... >> > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to ecartis@... > For general help: send the line "help" in the body of a message to > ecartis@... > __________________________________________________________________________ Harald Schneider Softwareentwicklung + Mediadesign since 1993 Kreuzweg 17 - 66663 Merzig - Germany USt-Ident DE163098498 Tel: 49 6861 792145 Fax: 49 6861 792146 Skype: hschneider66 ( skype:hschneider66?add ) MSN: h_schneider@... ICQ: 459855864 - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
|
|
Re: Compiling XMail 1.25 fails on OSX LeopardOn Mon, 28 Apr 2008, Harald Schneider wrote:
> Compiling fails with > > $ OSTYPE=Darwin make -f Makefile.bsd > gcc -o bin/MkMachDep MkMachDep.o -lssl -lcrypto -lkvm -lpthread > ld: library not found for -lkvm > collect2: ld returned 1 exit status > make: *** [bin/MkMachDep] Error 1 > > OpenSSL comes with Leopard's XCode Tools and is installed here: > > $ ls /usr/lib/libssl* > -rwxr-xr-x 1 root wheel 915536 24 Sep 2007 /usr/lib/libssl. > 0.9.7.dylib > -rwxr-xr-x 1 root wheel 223280 24 Sep 2007 /usr/lib/libssl.0.9.dylib > lrwxr-xr-x 1 root wheel 18 11 Apr 19:05 /usr/lib/libssl.dylib - > > libssl.0.9.7.dylib > > Any hints ? Yes, I verified that it does not build on Leopard on my MacPro. The attached diff fixes it for me: $ OSTYPE=Darwin10.5 make -f Makefile.bsd - Davide diff -Nru xmail-1.25/MainBSD.cpp xmail-1.25.mod/MainBSD.cpp --- xmail-1.25/MainBSD.cpp 2008-01-03 15:27:44.000000000 -0800 +++ xmail-1.25.mod/MainBSD.cpp 2008-04-28 11:05:24.000000000 -0700 @@ -42,7 +42,7 @@ #define XMAIL_DEBUG_OPTION "-Md" #define XMAIL_PIDDIR_ENV "XMAIL_PID_DIR" -#if defined(__GLIBC__) && defined (__FreeBSD_kernel__) +#if (defined(__GLIBC__) && defined (__FreeBSD_kernel__)) || defined(__DARWIN_10_5__) #define BSD_SETPGRP() setpgrp() #else #define BSD_SETPGRP() setpgrp(0, getpid()) diff -Nru xmail-1.25/Makefile.bsd xmail-1.25.mod/Makefile.bsd --- xmail-1.25/Makefile.bsd 2008-01-03 15:27:44.000000000 -0800 +++ xmail-1.25.mod/Makefile.bsd 2008-04-28 11:06:53.000000000 -0700 @@ -58,6 +58,12 @@ CFLAGS := $(CFLAGS) -I. -D__UNIX__ -D__BSD__ -D__DARWIN__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE LDFLAGS := $(LDFLAGS) $(SSLLIBS) -lkvm -lpthread else +ifeq ($(OSTYPE),Darwin10.5) + SYSTYPE = darwin-10.5 + CFLAGS := $(CFLAGS) -I. -D__UNIX__ -D__BSD__ -D__DARWIN__ -D__DARWIN_10_5__ -D_REENTRANT=1 \ + -D_THREAD_SAFE=1 -DHAS_SYSMACHINE + LDFLAGS := $(LDFLAGS) $(SSLLIBS) -lpthread +else ifeq ($(OSTYPE),GNU/kFreeBSD) SYSTYPE = freebsd CFLAGS := $(CFLAGS) -I. -D__UNIX__ -D__BSD__ -D__FREEBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE @@ -70,6 +76,7 @@ endif endif endif +endif CFLAGS := $(CFLAGS) -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS diff -Nru xmail-1.25/SysIncludeBSD.h xmail-1.25.mod/SysIncludeBSD.h --- xmail-1.25/SysIncludeBSD.h 2008-01-03 15:27:45.000000000 -0800 +++ xmail-1.25.mod/SysIncludeBSD.h 2008-04-28 11:07:32.000000000 -0700 @@ -68,6 +68,8 @@ #include <dlfcn.h> #include <sched.h> #include <pthread.h> +#if !defined(__DARWIN_10_5__) #include <kvm.h> +#endif #endif - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
|
|
Re: Compiling XMail 1.25 fails on OSX LeopardGREAT! ;-)
Can you give a non-C guru some hint how to apply the diff? Thank you very much, Harald Am 28.04.2008 um 20:10 schrieb Davide Libenzi: > On Mon, 28 Apr 2008, Harald Schneider wrote: > >> Compiling fails with >> >> $ OSTYPE=Darwin make -f Makefile.bsd >> gcc -o bin/MkMachDep MkMachDep.o -lssl -lcrypto -lkvm -lpthread >> ld: library not found for -lkvm >> collect2: ld returned 1 exit status >> make: *** [bin/MkMachDep] Error 1 >> >> OpenSSL comes with Leopard's XCode Tools and is installed here: >> >> $ ls /usr/lib/libssl* >> -rwxr-xr-x 1 root wheel 915536 24 Sep 2007 /usr/lib/libssl. >> 0.9.7.dylib >> -rwxr-xr-x 1 root wheel 223280 24 Sep 2007 /usr/lib/libssl. >> 0.9.dylib >> lrwxr-xr-x 1 root wheel 18 11 Apr 19:05 /usr/lib/ >> libssl.dylib - >>> libssl.0.9.7.dylib >> >> Any hints ? > > Yes, I verified that it does not build on Leopard on my MacPro. > The attached diff fixes it for me: > > $ OSTYPE=Darwin10.5 make -f Makefile.bsd > > > > - Davide > > > > > diff -Nru xmail-1.25/MainBSD.cpp xmail-1.25.mod/MainBSD.cpp > --- xmail-1.25/MainBSD.cpp 2008-01-03 15:27:44.000000000 -0800 > +++ xmail-1.25.mod/MainBSD.cpp 2008-04-28 11:05:24.000000000 -0700 > @@ -42,7 +42,7 @@ > #define XMAIL_DEBUG_OPTION "-Md" > #define XMAIL_PIDDIR_ENV "XMAIL_PID_DIR" > > -#if defined(__GLIBC__) && defined (__FreeBSD_kernel__) > +#if (defined(__GLIBC__) && defined (__FreeBSD_kernel__)) || > defined(__DARWIN_10_5__) > #define BSD_SETPGRP() setpgrp() > #else > #define BSD_SETPGRP() setpgrp(0, getpid()) > diff -Nru xmail-1.25/Makefile.bsd xmail-1.25.mod/Makefile.bsd > --- xmail-1.25/Makefile.bsd 2008-01-03 15:27:44.000000000 -0800 > +++ xmail-1.25.mod/Makefile.bsd 2008-04-28 11:06:53.000000000 -0700 > @@ -58,6 +58,12 @@ > CFLAGS := $(CFLAGS) -I. -D__UNIX__ -D__BSD__ -D__DARWIN__ - > D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE > LDFLAGS := $(LDFLAGS) $(SSLLIBS) -lkvm -lpthread > else > +ifeq ($(OSTYPE),Darwin10.5) > + SYSTYPE = darwin-10.5 > + CFLAGS := $(CFLAGS) -I. -D__UNIX__ -D__BSD__ -D__DARWIN__ - > D__DARWIN_10_5__ -D_REENTRANT=1 \ > + -D_THREAD_SAFE=1 -DHAS_SYSMACHINE > + LDFLAGS := $(LDFLAGS) $(SSLLIBS) -lpthread > +else > ifeq ($(OSTYPE),GNU/kFreeBSD) > SYSTYPE = freebsd > CFLAGS := $(CFLAGS) -I. -D__UNIX__ -D__BSD__ -D__FREEBSD__ - > D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE > @@ -70,6 +76,7 @@ > endif > endif > endif > +endif > > CFLAGS := $(CFLAGS) -D_GNU_SOURCE -D_LARGEFILE64_SOURCE - > D_POSIX_PTHREAD_SEMANTICS > > diff -Nru xmail-1.25/SysIncludeBSD.h xmail-1.25.mod/SysIncludeBSD.h > --- xmail-1.25/SysIncludeBSD.h 2008-01-03 15:27:45.000000000 -0800 > +++ xmail-1.25.mod/SysIncludeBSD.h 2008-04-28 11:07:32.000000000 -0700 > @@ -68,6 +68,8 @@ > #include <dlfcn.h> > #include <sched.h> > #include <pthread.h> > +#if !defined(__DARWIN_10_5__) > #include <kvm.h> > +#endif > > #endif > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to ecartis@... > For general help: send the line "help" in the body of a message to > ecartis@... > __________________________________________________________________________ Harald Schneider Softwareentwicklung + Mediadesign since 1993 Kreuzweg 17 - 66663 Merzig - Germany USt-Ident DE163098498 Tel: 49 6861 792145 Fax: 49 6861 792146 Skype: hschneider66 ( skype:hschneider66?add ) MSN: h_schneider@... ICQ: 459855864 - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
|
|
Re: Compiling XMail 1.25 fails on OSX LeopardOn Mon, 28 Apr 2008, Harald Schneider wrote:
> GREAT! ;-) > > Can you give a non-C guru some hint how to apply the diff? $ cd XMAILSROUCE $ patch -p1 < PATCHFILE - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
|
|
Aliases.tabUnder Exim on a Debian server, I was able to create system-wide aliases
that would send an email to multiple accounts. Example: help@<domain.com> would be forwarded both to me & the other tech support guy working with that server. In Xmail's aliases.tab is there a way to setup an alias so that a false address will forward to multiple real addresses? -Jayson Keidel - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
|
|
Re: Aliases.tabYou could just create the mailbox "help" and then add a mailproc.tab in its
directory with the following content: "redirect"[TAB]"thisguy@..."[TAB]"thisotherguy@... m"[CRLF] This will prevent storing the mails into "help" mailbox since it doesn't have the "mailbox" parameter before the "redirect". Hope this helps -fred -----Original Message----- From: xmail-bounce@... [mailto:xmail-bounce@...] On Behalf Of Jayson Keidel Sent: 28 avril 2008 17:46 To: xmail@... Subject: [xmail] Aliases.tab Under Exim on a Debian server, I was able to create system-wide aliases that would send an email to multiple accounts. Example: help@<domain.com> would be forwarded both to me & the other tech support guy working with that server. In Xmail's aliases.tab is there a way to setup an alias so that a false address will forward to multiple real addresses? -Jayson Keidel - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
|
|
Re: Aliases.tabOn Mon, 28 Apr 2008, Jayson Keidel wrote:
> Under Exim on a Debian server, I was able to create system-wide aliases > that would send an email to multiple accounts. > Example: help@<domain.com> would be forwarded both to me & the other > tech support guy working with that server. > > In Xmail's aliases.tab is there a way to setup an alias so that a false > address will forward to multiple real addresses? Look at the mailproc.tab section of the documentation. - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
|
|
Re: Compiling XMail 1.25 fails on OSX LeopardThis shows
$ patch -p1 < _fixleopard.txt patching file MainBSD.cpp patch: **** malformed patch at line 13: diff -Nru xmail-1.25/ Makefile.bsd xmail-1.25.mod/Makefile.bsd Maybe it's easier to provide the patched source tarball for download ? ;) -- Harald Am 28.04.2008 um 21:43 schrieb Davide Libenzi: > On Mon, 28 Apr 2008, Harald Schneider wrote: > >> GREAT! ;-) >> >> Can you give a non-C guru some hint how to apply the diff? > > $ cd XMAILSROUCE > $ patch -p1 < PATCHFILE > > > > > - Davide > > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to ecartis@... > For general help: send the line "help" in the body of a message to > ecartis@... > __________________________________________________________________________ Harald Schneider Softwareentwicklung + Mediadesign since 1993 Kreuzweg 17 - 66663 Merzig - Germany USt-Ident DE163098498 Tel: 49 6861 792145 Fax: 49 6861 792146 Skype: hschneider66 ( skype:hschneider66?add ) MSN: h_schneider@... ICQ: 459855864 - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
|
|
Re: Aliases.tabExcellent, and thankyou muchly.
That's what I was lookign for. fred wrote: > You could just create the mailbox "help" and then add a mailproc.tab in its > directory with the following content: > > "redirect"[TAB]"thisguy@..."[TAB]"thisotherguy@... > m"[CRLF] > > This will prevent storing the mails into "help" mailbox since it doesn't > have the "mailbox" parameter before the "redirect". > > Hope this helps > > -fred > > -----Original Message----- > From: xmail-bounce@... [mailto:xmail-bounce@...] On > Behalf Of Jayson Keidel > Sent: 28 avril 2008 17:46 > To: xmail@... > Subject: [xmail] Aliases.tab > > Under Exim on a Debian server, I was able to create system-wide aliases > that would send an email to multiple accounts. > Example: help@<domain.com> would be forwarded both to me & the other > tech support guy working with that server. > > In Xmail's aliases.tab is there a way to setup an alias so that a false > address will forward to multiple real addresses? > > -Jayson Keidel > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to ecartis@... > For general help: send the line "help" in the body of a message to > ecartis@... > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to ecartis@... > For general help: send the line "help" in the body of a message to > ecartis@... > > To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
|
|
SOLVED: Re: Compiling XMail 1.25 fails on OSX LeopardI have patched it manually - works like a charm. THANX !
-- Harald Am 29.04.2008 um 07:12 schrieb Harald Schneider: > This shows > > $ patch -p1 < _fixleopard.txt > patching file MainBSD.cpp > patch: **** malformed patch at line 13: diff -Nru xmail-1.25/ > Makefile.bsd xmail-1.25.mod/Makefile.bsd > > Maybe it's easier to provide the patched source tarball for > download ? ;) > > > -- Harald > > > > Am 28.04.2008 um 21:43 schrieb Davide Libenzi: > >> On Mon, 28 Apr 2008, Harald Schneider wrote: >> >>> GREAT! ;-) >>> >>> Can you give a non-C guru some hint how to apply the diff? >> >> $ cd XMAILSROUCE >> $ patch -p1 < PATCHFILE >> >> >> >> >> - Davide >> >> >> - >> To unsubscribe from this list: send the line "unsubscribe xmail" in >> the body of a message to ecartis@... >> For general help: send the line "help" in the body of a message to >> ecartis@... >> > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to ecartis@... For general help: send the line "help" in the body of a message to ecartis@... |
| Free Forum Powered by Nabble | Forum Help |