From: JakuB on
Hi,

I am just starting with src2pkg (src2pkg-2.1-noarch-7.tgz, Slackware 13)
I followed installation instructions from http://www.src2pkg.net/quickstart
(I hope ;-) )

Being an user I do
$ pwd
/home/jakub1/src
$ ls
ta-lib-0.4.0-src.tar.gz
$ src2pkg ta-lib-0.4.0-src.tar.gz
FATAL! Home directory was given as a critical src2pkg variable,
or is the current directory. Please read the src2pkg documentation for help.

$ strace -o ~/src2pkg.txt src2pkg ta-lib-0.4.0-src.tar.gz
$ tail /home/jakub1/src2pkg.txt
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\33[1;31mFATAL! \33[0;39mHome directo"..., 78) = 78
write(1, "or is the current directory. Plea"..., 77) = 77
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(1)

For time being I haven't found an answer in internet
Could you help?

Thank you, Regards
Jakub

From: Henrik Carlqvist on
JakuB <jakubu(a)news.onet.pl> wrote:
> I am just starting with src2pkg (src2pkg-2.1-noarch-7.tgz, Slackware 13)

I haven't used that software myself, only quickly checked its
documentation...

> I followed installation instructions from http://www.src2pkg.net/quickstart
> (I hope ;-) )
>
> Being an user I do
> $ pwd
> /home/jakub1/src
> $ ls
> ta-lib-0.4.0-src.tar.gz
> $ src2pkg ta-lib-0.4.0-src.tar.gz

That does not look like the instructions at the above page to me. At the
web page they give the source package as an entire url:

~/src$ src2pkg
http://example.com/sources/a_configure_make_makeinstall.tar.gz

> FATAL! Home directory was given as a critical src2pkg variable,
> or is the current directory.

Maybe the error is that you have the source somewhere below your home
directory rather than letting src2pkg fetch it from the web?

> Please read the src2pkg documentation for help.

Read again, try again :-)

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc3(at)poolhem.se Examples of addresses which go to spammers:
root(a)localhost postmaster(a)localhost

From: JakuB on
On 2010-04-29, Henrik Carlqvist <Henrik.Carlqvist(a)deadspam.com> wrote:
> JakuB <jakubu(a)news.onet.pl> wrote:
>> I am just starting with src2pkg (src2pkg-2.1-noarch-7.tgz, Slackware 13)
> I haven't used that software myself, only quickly checked its
> documentation...
>
>> I followed installation instructions from http://www.src2pkg.net/quickstart
>> (I hope ;-) )
>> [...]
>
> That does not look like the instructions at the above page to me. At the
> web page they give the source package as an entire url:
>
> ~/src$ src2pkg
> http://example.com/sources/a_configure_make_makeinstall.tar.gz

$ src2pkg
FILENAME should be the name of an archive or *.src2pkg build script.
^^^^^^^
FILENAME can be a relative or absolute path or a valid URL address.

>> FATAL! Home directory was given as a critical src2pkg variable,
>> or is the current directory.

It does not work even from other partition:
$ cd /mnt/hd6/src
$ pwd
/mnt/hd6/src
$ ls /mnt/hd6/src/*
/mnt/hd6/src/ta-lib-0.4.0-src.tar.gz
$ src2pkg ta-lib-0.4.0-src.tar.gz
FATAL! Home directory was given as a critical src2pkg variable,
or is the current directory. Please read the src2pkg documentation for help.

I wanted to try /usr/Src2/src2pkg
<http://www.murga-linux.com/puppy/viewtopic.php?t=50285&sid=9a7ccc50f0eb9335bbaaeea1a4b288a5>

but
$ ls -lda /usr/src/src2pkg/
drwxr-xr-x 7 root root 4096 2010-01-17 17:41 /usr/src/src2pkg/

so at the moment I am not able to do this as an user.

Thank you for your efforts!
Jakub
From: Grant on
On Thu, 29 Apr 2010 16:20:08 +0000 (UTC), JakuB <jakubu(a)news.onet.pl> wrote:

>On 2010-04-29, Henrik Carlqvist <Henrik.Carlqvist(a)deadspam.com> wrote:
>> JakuB <jakubu(a)news.onet.pl> wrote:
>>> I am just starting with src2pkg (src2pkg-2.1-noarch-7.tgz, Slackware 13)
>> I haven't used that software myself, only quickly checked its
>> documentation...
>>
>>> I followed installation instructions from http://www.src2pkg.net/quickstart
>>> (I hope ;-) )
>>> [...]
>>
>> That does not look like the instructions at the above page to me. At the
>> web page they give the source package as an entire url:
>>
>> ~/src$ src2pkg
>> http://example.com/sources/a_configure_make_makeinstall.tar.gz
>
>$ src2pkg
> FILENAME should be the name of an archive or *.src2pkg build script.
> ^^^^^^^
> FILENAME can be a relative or absolute path or a valid URL address.
>
>>> FATAL! Home directory was given as a critical src2pkg variable,
>>> or is the current directory.
>
>It does not work even from other partition:
>$ cd /mnt/hd6/src
>$ pwd
>/mnt/hd6/src
>$ ls /mnt/hd6/src/*
>/mnt/hd6/src/ta-lib-0.4.0-src.tar.gz
>$ src2pkg ta-lib-0.4.0-src.tar.gz
>FATAL! Home directory was given as a critical src2pkg variable,
>or is the current directory. Please read the src2pkg documentation for help.
>
>I wanted to try /usr/Src2/src2pkg
><http://www.murga-linux.com/puppy/viewtopic.php?t=50285&sid=9a7ccc50f0eb9335bbaaeea1a4b288a5>
>
>but
>$ ls -lda /usr/src/src2pkg/
>drwxr-xr-x 7 root root 4096 2010-01-17 17:41 /usr/src/src2pkg/
>
>so at the moment I am not able to do this as an user.

Works as root? Slackware package management is done as root.

Grant.
--
http://bugs.id.au/
From: JakuB on
On 2010-04-29, Grant <omg(a)grrr.id.au> wrote:
> On Thu, 29 Apr 2010 16:20:08 +0000 (UTC), JakuB <jakubu(a)news.onet.pl> wrote:
>
>>On 2010-04-29, Henrik Carlqvist <Henrik.Carlqvist(a)deadspam.com> wrote:
>>> JakuB <jakubu(a)news.onet.pl> wrote:
>>>> I am just starting with src2pkg (src2pkg-2.1-noarch-7.tgz, Slackware 13)
>> [...]
>>so at the moment I am not able to do this as an user.
>
> Works as root? Slackware package management is done as root.
>
> Grant.

Yes. It works.
Regards
Jakub