[XtalOpt-devel] compiling xtalopt on mac os x 10.6.8 (Sebastien Hamel)
Sebastien Hamel
hamel2 at llnl.gov
Thu Sep 29 11:42:39 PDT 2011
Compilation on mac succesful after the modification to libssh.
But having the same problem submitting to batch from the mac that I have
submitting while running locally on the large linux from our cluster.
On 9/29/11 11:16 AM, "xtalopt-devel-request at lists.openmolecules.net"
<xtalopt-devel-request at lists.openmolecules.net> wrote:
>Send XtalOpt-Devel mailing list submissions to
> xtalopt-devel at lists.openmolecules.net
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.openmolecules.net/listinfo.cgi/xtalopt-devel-openmolecules.n
>et
>
>or, via email, send a message with subject or body 'help' to
> xtalopt-devel-request at lists.openmolecules.net
>
>You can reach the person managing the list at
> xtalopt-devel-owner at lists.openmolecules.net
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of XtalOpt-Devel digest..."
>
>
>Today's Topics:
>
> 1. compiling xtalopt on mac os x 10.6.8 (Sebastien Hamel)
> 2. Re: compiling xtalopt on mac os x 10.6.8 (David Lonie)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Thu, 29 Sep 2011 09:40:07 -0700
>From: Sebastien Hamel <hamel2 at llnl.gov>
>To: <xtalopt-devel at lists.openmolecules.net>
>Subject: [XtalOpt-devel] compiling xtalopt on mac os x 10.6.8
>Message-ID: <CAA9ED77.3E45%hamel2 at llnl.gov>
>Content-Type: text/plain; charset="us-ascii"
>
>Hello,
>
>I installed eigen,cmake,qt,openbabel,avogadro (removed the reference to
>bsdyengine,navigatetool and element in avogadro_LIB_DEPENDS) . Now I'm try
>to make xtalopt but I get this error message:
>
>Undefined symbols:
> "_environ", referenced from:
> _ssh_execute_command in libssh_static.a(socket.c.o)
>ld: symbol(s) not found
>collect2: ld returned 1 exit status
>make[2]: *** [src/xtalopt/xtalopt.dylib] Error 1
>make[1]: *** [src/xtalopt/CMakeFiles/xtalopt.dir/all] Error 2
>make: *** [all] Error 2
>
>
>It looks like libssh is looking for something. This error message pops up
>for different mac installation (if you simply google the error message).
>
>Has anybody succesfully installed on a mac?
>
>Sebastien
>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://lists.openmolecules.net/pipermail/xtalopt-devel-openmolecules.net/
>attachments/20110929/9a2e873e/attachment.html>
>
>------------------------------
>
>Message: 2
>Date: Thu, 29 Sep 2011 12:47:55 -0400
>From: David Lonie <loniedavid at gmail.com>
>To: Sebastien Hamel <hamel2 at llnl.gov>
>Cc: xtalopt-devel at lists.openmolecules.net
>Subject: Re: [XtalOpt-devel] compiling xtalopt on mac os x 10.6.8
>Message-ID:
> <CABzw8w_x5Hkngzy8y5gwfa9Pqa0H_Sk9xLR8CkHj6OSOS_-y-A at mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>Hi Sebastien,
>
>Unfortunately libssh does not support OSX, and as a result, XtalOpt is
>aimed at Linux/Windows users only.
>
>However, I did find this:
>
>http://www.fireantsecurity.co.uk/?p=131
>
>it seems to suggest that changing line 697 in xtalopt/src/libssh/socket.c
>from
>
>execve(args[0],(char * const *)args,(char * const *)environ);
>
>to
>
>execvp(args[0],(char * const *)args);
>
>will enable libssh to compile on OSX. I don't have a mac to try this
>on, but if it works for you I can add the change to the source code.
>
>Dave
>
>On Thu, Sep 29, 2011 at 12:40 PM, Sebastien Hamel <hamel2 at llnl.gov> wrote:
>> Hello,
>> I installed eigen,cmake,qt,openbabel,avogadro (removed the reference to
>> bsdyengine,navigatetool and element in avogadro_LIB_DEPENDS) . Now I'm
>>try
>> to make xtalopt but I get this error message:
>> Undefined symbols:
>> ? "_environ", referenced from:
>> ? ? ? _ssh_execute_command in libssh_static.a(socket.c.o)
>> ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make[2]: *** [src/xtalopt/xtalopt.dylib] Error 1
>> make[1]: *** [src/xtalopt/CMakeFiles/xtalopt.dir/all] Error 2
>> make: *** [all] Error 2
>>
>> It looks like libssh is looking for something. This error message pops
>>up
>> for different mac installation (if you simply google the error message).
>> Has anybody succesfully installed on a mac?
>> Sebastien
>> _______________________________________________
>> XtalOpt-Devel mailing list
>> XtalOpt-Devel at lists.openmolecules.net
>>
>>http://lists.openmolecules.net/listinfo.cgi/xtalopt-devel-openmolecules.n
>>et
>>
>>
>
>
>------------------------------
>
>_______________________________________________
>XtalOpt-Devel mailing list
>XtalOpt-Devel at lists.openmolecules.net
>http://lists.openmolecules.net/listinfo.cgi/xtalopt-devel-openmolecules.ne
>t
>
>
>End of XtalOpt-Devel Digest, Vol 14, Issue 2
>********************************************
More information about the XtalOpt-Devel
mailing list