public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* Canonical repository, website and downloads.
@ 2010-06-10 14:45 Luis Lavena
  2010-06-10 14:54 ` Anthony Green
  0 siblings, 1 reply; 4+ messages in thread
From: Luis Lavena @ 2010-06-10 14:45 UTC (permalink / raw)
  To: libffi-discuss

Hello,

My name is Luis Lavena, maintainer of a Ruby distribution for Windows
named RubyInstaller.

I had email the list in the past about build or test issues with
libffi. Thank you all for the replies and the suggestions.

This time I wanted to consolidate information about libffi codebase
location and any website information.

Right now, using the atgreen repository at GitHub I can successfully
compile libffi 3.0.10 from it.

However, I cannot run test from it:

$ make check
Making check in include
make[1]: Entering directory `/c/Users/Luis/Projects/oss/libffi/include'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/c/Users/Luis/Projects/oss/libffi/include'
Making check in testsuite
make[1]: Entering directory `/c/Users/Luis/Projects/oss/libffi/testsuite'
make  check-DEJAGNU
make[2]: Entering directory `/c/Users/Luis/Projects/oss/libffi/testsuite'
Making a new site.exp file...
srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd . && pwd`; export srcdir; \
        EXPECT=`if [ -f ../../expect/expect ] ; then echo
../../expect/expect ; else echo expect ; fi`; export EXPECT; \
        runtest=`if [ -f ../../dejagnu/runtest ] ; then echo
../../dejagnu/runtest ; else echo runtest; fi`; \
        if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
          exit_status=0; l='libffi'; for tool in $l; do \
            if $runtest  --tool $tool --srcdir $srcdir ; \
            then :; else exit_status=1; fi; \
          done; \
        else echo "WARNING: could not find \`runtest'" 1>&2; :;\
        fi; \
        exit $exit_status
WARNING: could not find `runtest'
make[2]: Leaving directory `/c/Users/Luis/Projects/oss/libffi/testsuite'
make[1]: Leaving directory `/c/Users/Luis/Projects/oss/libffi/testsuite'
Making check in man
make[1]: Entering directory `/c/Users/Luis/Projects/oss/libffi/man'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/c/Users/Luis/Projects/oss/libffi/man'
make[1]: Entering directory `/c/Users/Luis/Projects/oss/libffi'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/c/Users/Luis/Projects/oss/libffi'

There is no "runtest", any hint or pointer on getting that missing requirement?

I would like to run these test to be able to provide a set of binaries
for Windows platform so we can use libffi properly in some projects.

Thank you in advance.
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Canonical repository, website and downloads.
  2010-06-10 14:45 Canonical repository, website and downloads Luis Lavena
@ 2010-06-10 14:54 ` Anthony Green
  2010-06-10 16:23   ` Luis Lavena
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony Green @ 2010-06-10 14:54 UTC (permalink / raw)
  To: Luis Lavena; +Cc: libffi-discuss

Luis Lavena <luislavena@gmail.com> writes:

> Hello,
>
> My name is Luis Lavena, maintainer of a Ruby distribution for Windows
> named RubyInstaller.

Hi Luis.   Answers below....


> I had email the list in the past about build or test issues with
> libffi. Thank you all for the replies and the suggestions.
>
> This time I wanted to consolidate information about libffi codebase
> location and any website information.
>
> Right now, using the atgreen repository at GitHub I can successfully
> compile libffi 3.0.10 from it.
>
> However, I cannot run test from it:
>
> $ make check
> Making check in include
> make[1]: Entering directory `/c/Users/Luis/Projects/oss/libffi/include'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory `/c/Users/Luis/Projects/oss/libffi/include'
> Making check in testsuite
> make[1]: Entering directory `/c/Users/Luis/Projects/oss/libffi/testsuite'
> make  check-DEJAGNU
> make[2]: Entering directory `/c/Users/Luis/Projects/oss/libffi/testsuite'
> Making a new site.exp file...
> srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd . && pwd`; export srcdir; \
>         EXPECT=`if [ -f ../../expect/expect ] ; then echo
> ../../expect/expect ; else echo expect ; fi`; export EXPECT; \
>         runtest=`if [ -f ../../dejagnu/runtest ] ; then echo
> ../../dejagnu/runtest ; else echo runtest; fi`; \
>         if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
>           exit_status=0; l='libffi'; for tool in $l; do \
>             if $runtest  --tool $tool --srcdir $srcdir ; \
>             then :; else exit_status=1; fi; \
>           done; \
>         else echo "WARNING: could not find \`runtest'" 1>&2; :;\
>         fi; \
>         exit $exit_status
> WARNING: could not find `runtest'
> make[2]: Leaving directory `/c/Users/Luis/Projects/oss/libffi/testsuite'
> make[1]: Leaving directory `/c/Users/Luis/Projects/oss/libffi/testsuite'
> Making check in man
> make[1]: Entering directory `/c/Users/Luis/Projects/oss/libffi/man'
> make[1]: Nothing to be done for `check'.
> make[1]: Leaving directory `/c/Users/Luis/Projects/oss/libffi/man'
> make[1]: Entering directory `/c/Users/Luis/Projects/oss/libffi'
> make[1]: Nothing to be done for `check-am'.
> make[1]: Leaving directory `/c/Users/Luis/Projects/oss/libffi'
>
> There is no "runtest", any hint or pointer on getting that missing requirement?


"runtest" is part of DejaGNU.  http://www.gnu.org/software/dejagnu/

Are you using cygwin?  I believe there's a dejagnu port in the cygwin
repository.

Good luck!

AG




> I would like to run these test to be able to provide a set of binaries
> for Windows platform so we can use libffi properly in some projects.
>
> Thank you in advance.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Canonical repository, website and downloads.
  2010-06-10 14:54 ` Anthony Green
@ 2010-06-10 16:23   ` Luis Lavena
  2010-06-10 16:30     ` Anthony Green
  0 siblings, 1 reply; 4+ messages in thread
From: Luis Lavena @ 2010-06-10 16:23 UTC (permalink / raw)
  To: libffi-discuss

On Thu, Jun 10, 2010 at 10:53 AM, Anthony Green
<green@gmachine.i-did-not-set--mail-host-address--so-tickle-me> wrote:
>
> "runtest" is part of DejaGNU.  http://www.gnu.org/software/dejagnu/
>

Thank you for the link and information, diving into it now.

> Are you using cygwin?  I believe there's a dejagnu port in the cygwin
> repository.
>

MSYS actually.

DejaGNU requires expect which I expectingly don't have :-P

Researching a bit more and will ask question if I find any other problem.

> Good luck!
>

Thank you :-)

-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Canonical repository, website and downloads.
  2010-06-10 16:23   ` Luis Lavena
@ 2010-06-10 16:30     ` Anthony Green
  0 siblings, 0 replies; 4+ messages in thread
From: Anthony Green @ 2010-06-10 16:30 UTC (permalink / raw)
  To: Luis Lavena; +Cc: libffi-discuss

Luis Lavena <luislavena@gmail.com> writes:

> On Thu, Jun 10, 2010 at 10:53 AM, Anthony Green
> <green@gmachine.i-did-not-set--mail-host-address--so-tickle-me> wrote:
>>
>> "runtest" is part of DejaGNU.  http://www.gnu.org/software/dejagnu/
>>
>
> Thank you for the link and information, diving into it now.
>
>> Are you using cygwin?  I believe there's a dejagnu port in the cygwin
>> repository.
>>
>
> MSYS actually.
>
> DejaGNU requires expect which I expectingly don't have :-P
>
> Researching a bit more and will ask question if I find any other
> problem.


Well, I'm pretty sure you can configure a cygwin hosted DejaGNU to build
and test MSYS hosted test programs.  So be sure to look into that as an
option if you need to.

AG



>
>> Good luck!
>>
>
> Thank you :-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-10 16:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-10 14:45 Canonical repository, website and downloads Luis Lavena
2010-06-10 14:54 ` Anthony Green
2010-06-10 16:23   ` Luis Lavena
2010-06-10 16:30     ` Anthony Green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).