Hi Paulo,
 It would be helpful to have a diff of the complete './configure'
step's output that you get from the terminal vs. what you're getting
from building through MacPorts. Also, if you could attach your current
version of the Portfile, I'd be willing to help debug it...

If you're looking for a quick fix (and don't need the sockets
facility) you can add '--disable-sockets' to configure.args

On Thu, Sep 16, 2010 at 4:42 PM, Paulo Moura <[email protected]> wrote:
>
> Hi,
>
> I'm trying to write a new portfile for the development version of GNU Prolog. 
> The software compiles fine from the command-line using the usual 
> configure&make incantation but it fails when trying the compilation from 
> within MacPorts (latest version) with a puzzling error during the configure 
> phase:
>
> ...
> checking for sys/param.h... yes
> checking for getpagesize... no
> checking for working mmap... no
> checking for mprotect... no
> checking for mallopt... no
> checking for fgetc... no
> checking for atanh... no
> checking for acosh... no
> checking for asinh... no
> checking for socket... no
> checking for socket in -lsocket... no
> configure: error: cannot find socket library
> shell command " cd 
> "/opt/local/var/macports/build/_Users_pmoura_ports_lang_gprolog-devel/work/gprolog-1.4.0/src"
>  && ./configure --prefix=/opt/local 
> --prefix=/opt/local/var/macports/build/_Users_pmoura_ports_lang_gprolog-devel/work/destroot/opt/local
>  --with-install-dir=/opt/local/lib/gprolog-1.4.0 
> --with-examples-dir=/opt/local/share/gprolog-1.4.0 
> --with-doc-dir=/opt/local/share/gprolog-1.4.0 " returned error 1
> Error: Target org.macports.configure returned: configure failure: shell 
> command failed
>
> Any hints are appreciated. Thanks,
>
> Paulo
>
>
> -----------------------------------------------------------------
> Paulo Jorge Lopes de Moura, PhD
> Assistant Professor
> Dep. of Computer Science, University of Beira Interior
> 6201-001 Covilhã, Portugal
>
> Office 3.18  Ext. 3276
> Phone: +351 275319891 Fax: +351 275319899
> Email: <mailto:[email protected]>
>
> Home page: <http://www.di.ubi.pt/~pmoura>
> Research:  <http://logtalk.org/> Blog: <http://blog.logtalk.org/>
> -----------------------------------------------------------------
>
> _______________________________________________
> macports-users mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to