From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id F00B7BB81 for ; Sat, 4 Feb 2006 15:07:55 +0100 (CET) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k14E7sAY012850 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sat, 4 Feb 2006 15:07:55 +0100 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1F5OW4-0005gm-00; Sat, 04 Feb 2006 14:35:56 +0000 Date: Sat, 4 Feb 2006 14:35:56 +0000 To: Grant Monroe Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Compiling pycaml shared library Message-ID: <20060204143556.GA21846@furbychan.cocan.org> References: <826ff8bf0602031120i355928e5r3e5b0bc4b644782b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <826ff8bf0602031120i355928e5r3e5b0bc4b644782b@mail.gmail.com> User-Agent: Mutt/1.5.9i From: Richard Jones X-Miltered: at concorde with ID 43E4B53A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 bytecode:01 makefile:01 cvs:01 viewcvs:01 modcaml:01 makefile:01 modcaml:01 notepad:01 wrote:01 compile:01 compiles:01 caml:02 compiling:02 python:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_FAIL autolearn=disabled version=3.0.3 On Fri, Feb 03, 2006 at 11:20:41AM -0800, Grant Monroe wrote: > Hello All, > I'm trying to figure out how to compile a simple shared library (.so) > using pycaml that I can load from the python interpreter. I'm not familiar with pycaml, but mod_caml compiles itself as a .so file so it can be loaded into Apache. It is only possible with bytecode (for the moment at least), and the process was very complicated to figure out. I suggest you start by examining the makefile: http://cvs.savannah.nongnu.org/viewcvs/modcaml/Makefile?rev=1.68&root=modcaml&view=markup Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com