how to make example-package run correct

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to make example-package run correct

Octave - General mailing list
Hello,

I am planning to  port sci-doe to octave, and clone the example-package
from octave-forge . To test the package, I use "make dist" in the
plain-package directory, but see the following error:

rm -f -r "target/example-package-1.2.0"
cd "target/example-package-1.2.0/src" && ./bootstrap && rm -f -r
"autom4te.cache"
/bin/sh: 1: cd: can't cd to target/example-package-1.2.0/src
make: *** [Makefile:117:target/example-package-1.2.0] 错误 2

  I check the directory and can't see the target directory.  So I clone
the dataframe package, use the same command, but see the target
directory. Can some one tell me how to  run example-package  correctly?




Reply | Threaded
Open this post in threaded view
|

Re: how to make example-package run correct

siko1056
On 2/6/20 9:18 AM, xuhaida via Help list for GNU Octave wrote:> Hello,

>
> I am planning to  port sci-doe to octave, and clone the example-package
> from octave-forge . To test the package, I use "make dist" in the
> plain-package directory, but see the following error:
>
> rm -f -r "target/example-package-1.2.0"
> cd "target/example-package-1.2.0/src" && ./bootstrap && rm -f -r
> "autom4te.cache"
> /bin/sh: 1: cd: can't cd to target/example-package-1.2.0/src
> make: *** [Makefile:117:target/example-package-1.2.0] 错误 2
>
>  I check the directory and can't see the target directory.  So I clone
> the dataframe package, use the same command, but see the target
> directory. Can some one tell me how to  run example-package  correctly?
>


Sorry for the inconvenience.  I see the same error and already filed a
bug report about this issue [1] including a fix.

To apply the fix, please do the following:

   $ hg clone http://hg.code.sf.net/p/octave/example-package
   $ wget --content-disposition
https://savannah.gnu.org/bugs/download.php?file_id=48359
   $ cd example-package
   $ hg backout 0b5ba58fde08
   $ hg import ../of_example-package.patch
   $ make dist

HTH,
Kai

[1] https://savannah.gnu.org/bugs/?57750


Reply | Threaded
Open this post in threaded view
|

Re: how to make example-package run correct

siko1056
On 2/6/20 4:36 PM, xuhaida wrote:

> 在 2020/2/6 下午12:58, Kai Torben Ohlhus 写道:
>> On 2/6/20 9:18 AM, xuhaida via Help list for GNU Octave wrote:> Hello,
>>> I am planning to  port sci-doe to octave, and clone the example-package
>>> from octave-forge . To test the package, I use "make dist" in the
>>> plain-package directory, but see the following error:
>>>
>>> rm -f -r "target/example-package-1.2.0"
>>> cd "target/example-package-1.2.0/src" && ./bootstrap && rm -f -r
>>> "autom4te.cache"
>>> /bin/sh: 1: cd: can't cd to target/example-package-1.2.0/src
>>> make: *** [Makefile:117:target/example-package-1.2.0] 错误 2
>>>
>>>   I check the directory and can't see the target directory.  So I clone
>>> the dataframe package, use the same command, but see the target
>>> directory. Can some one tell me how to  run example-package  correctly?
>>>
>>
>> Sorry for the inconvenience.  I see the same error and already filed a
>> bug report about this issue [1] including a fix.
>>
>> To apply the fix, please do the following:
>>
>>     $ hg clone http://hg.code.sf.net/p/octave/example-package
>>     $ wget --content-disposition
>> https://savannah.gnu.org/bugs/download.php?file_id=48359
>>     $ cd example-package
>>     $ hg backout 0b5ba58fde08
>>     $ hg import ../of_example-package.patch
>>     $ make dist
>>
>> HTH,
>> Kai
>>
>> [1] https://savannah.gnu.org/bugs/?57750
>
> I now know why  and run successfully, thanks!
>

You're welcome.

Kai