Re: [blfs-dev] [BLFS Trac] #3350: libvirt-glib does not build on LFS 7.1

2012-05-05 Thread Armin K.
On 05/05/2012 03:52 AM, Wayne Blaszczyk wrote:
> On 05/05/12 01:52, Bruce Dubbs wrote:
>> BLFS Trac wrote:
>>> #3350: libvirt-glib does not build on LFS 7.1
>>> --+-
>>>   Reporter:  wblaszcz  |   Owner:  blfs-book@…
>>>   Type:  defect|  Status:  new
>>>   Priority:  normal|   Milestone:  current
>>> Component:  BOOK  | Version:  SVN
>>>   Severity:  normal|Keywords:
>>> --+-
>>>
>>> Comment(by Krejzi):
>>>
>>>   I fully understand the sed. However problem still lies at libtirpc whose
>>>   .so and .la files are moved into /usr/lib, but .la file still lists /lib
>>>   as libdir, but should list /usr/lib instead. If that is corrected before
>>>   libvirt has been compiled, the problem would not exist at all with libvirt
>>>   nor libvirt-glib.
>>>
> Only the .*a files are moved to /usr/lib. The .so files remain in /lib.
>
> Wayne.
>

I don't know if you noticed, but libvirt was linked to the .a file. You 
reported it back then. Well, we need to make symlink in /usr/lib for .so 
file, and switch libdir in libtirpc.la for everything to be ok.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-dev] fuse

2012-05-05 Thread Andrew Benton
On Sat, 05 May 2012 01:58:11 +0100
Bruce Dubbs  wrote:

>  Do you know anything about the bootscript?  If you build 
> in the capability to the kernel then the modprobe is obviously unneeded,

On the Fuse page I advised that people build it into their kernel. My
thinking is: if they build it as a module they probably have experience
with using modules and will know how to modprobe.

>  but is 
> is necessary to mount /sys/fs/fuse/connections?
> 
> I did some reading about fuse today, but I'm still confused about why it's 
> needed or what it really does.

I don't know for sure. For me, Fuse is a required dep of sshfs-fuse
(which I use everyday) and curftpfs (which I use occasionally) and an
optional dep of Ntfs-3g (which I use everyday). None of them
need /sys/fs/fuse/connections mounted, so for me the bootscript is
unneeded. I'm not an expert on Fuse though, so I don't know about other
use cases.

Apart from the library (which are required by both sshfs-fuse and
curlftpfs) and kernel config the other thing needed from Fuse is the
command fusermount. fusermount -u is used to unmount a Fuse mountpoint.

The config file, /etc/fuse.conf is another issue. It mentions is in the
README file in the Fuse source. I've never needed to
create /etc/fuse.conf so I didn't mention it on the Fuse page. My
feeling is that the Fuse page is Ok for now. If there are use cases
that require the bootscript or config file hopefully someone will
mention them on one of the mail lists and we can improve the page then.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-dev] Audacious-3.2.2 wrong link in optional dependencies

2012-05-05 Thread Thanos Baloukas
Hi

On Audacious-3.2.2 there is a libdvdread-4.2.0 link in optional deps
which points to libsamplerate-0.1.8

Thanos

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] fuse

2012-05-05 Thread Fernando de Oliveira
On 05-05-2012 07:06, Andrew Benton wrote:
> On Sat, 05 May 2012 01:58:11 +0100
> Bruce Dubbs  wrote:

[...]

> The config file, /etc/fuse.conf is another issue. It mentions is in the
> README file in the Fuse source. I've never needed to
> create /etc/fuse.conf so I didn't mention it on the Fuse page.

/etc/fuse.conf can be useful.

$ cat /etc/fuse.conf
user_allow_other

$ ls -l /etc/fuse.conf
-rw-r--r-- 1 root root 17 Mar 18 11:06 /etc/fuse.conf

With these permissions (0644), sshfs can mount as "myuser" and access as "root" 
is granted:

Example:

sshfs -o default_permissions -o allow_root 
:$HOME/MyDownloadFiles/Sistema/Linux/lfs/sources6.8 $HOME/sshfs

where  is to be replaced by the actual ip of the server.

Have no idea how vulnerable I am nor if anything can be done about if so.

In *buntu:

$ cat /etc/fuse.conf
# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#
#mount_max = 1000

# Allow non-root users to specify the 'allow_other' or 'allow_root'
# mount options.
#
user_allow_other

$ ls -l /etc/fuse.conf
-rw-r--r-- 1 root fuse 216 2011-12-31 08:55 /etc/fuse.conf

Originally:

1. "user_allow_other" was commented

2. permissions were 0640 or 0600, can't remember, and command above could not 
be used, as "others" and "other-groups" had no access permission.

> My feeling is that the Fuse page is Ok for now. If there are use cases
> that require the bootscript or config file hopefully someone will
> mention them on one of the mail lists and we can improve the page then.
>
> Andy

i do not use bootscript for it.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Audacious-3.2.2 wrong link in optional dependencies

2012-05-05 Thread Bruce Dubbs
Thanos Baloukas wrote:
> Hi
> 
> On Audacious-3.2.2 there is a libdvdread-4.2.0 link in optional deps
> which points to libsamplerate-0.1.8

Actually it should be a link to libsamplerate, but the cross reference title is 
wrong.  I'll fix it.  Thanks for the heads up.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] [blfs-book] r10082 - in trunk/BOOK: introduction/welcome xsoft/office

2012-05-05 Thread Bruce Dubbs
Fernando de Oliveira wrote:
> On 05-05-2012 11:42, andy@... wrote:
>> Author: andy Date: 2012-05-05 08:42:10 -0600 (Sat, 05 May 2012) New
>> Revision: 10082
>> 
>> Modified: trunk/BOOK/introduction/welcome/changelog.xml 
>> trunk/BOOK/xsoft/office/libreoffice.xml Log: Libreoffice tweaks The
>> download script now downloads the dictionaries, help files and translations
>> so we don't need to do that by hand.
> 
> Good!
> 
>> From what I could understand in the xml diffs, good changes. The LO version
>> seems really to be x.y.z, as you changed it to, so, once again, my mistake.
>> 
> 
> I did not notice or missed the hyphen (hífen, in Brazil, and I just removed
> the ´ to incorrectly translate into English :-) removal in the book's index.
> It is *not important*, but I always have to rethink, when not finding
> LibreOffice with Ctrl-F in firefox, with the BLFS index page displayed, so,
> could help others.

Please redirect these discussions to -dev.  -book should really only be for 
commmits and ticket changes.

   -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] fuse

2012-05-05 Thread Bruce Dubbs
Andrew Benton wrote:
> On Sat, 05 May 2012 01:58:11 +0100
> Bruce Dubbs  wrote:
> 
>>  Do you know anything about the bootscript?  If you build 
>> in the capability to the kernel then the modprobe is obviously unneeded,
> 
> On the Fuse page I advised that people build it into their kernel. My
> thinking is: if they build it as a module they probably have experience
> with using modules and will know how to modprobe.
> 
>>  but is 
>> is necessary to mount /sys/fs/fuse/connections?
>>
>> I did some reading about fuse today, but I'm still confused about why it's 
>> needed or what it really does.
> 
> I don't know for sure. For me, Fuse is a required dep of sshfs-fuse
> (which I use everyday) and curftpfs (which I use occasionally) and an
> optional dep of Ntfs-3g (which I use everyday). None of them
> need /sys/fs/fuse/connections mounted, so for me the bootscript is
> unneeded. I'm not an expert on Fuse though, so I don't know about other
> use cases.
> 
> Apart from the library (which are required by both sshfs-fuse and
> curlftpfs) and kernel config the other thing needed from Fuse is the
> command fusermount. fusermount -u is used to unmount a Fuse mountpoint.
> 
> The config file, /etc/fuse.conf is another issue. It mentions is in the
> README file in the Fuse source. I've never needed to
> create /etc/fuse.conf so I didn't mention it on the Fuse page. My
> feeling is that the Fuse page is Ok for now. If there are use cases
> that require the bootscript or config file hopefully someone will
> mention them on one of the mail lists and we can improve the page then.

Fair enough.  I'll add this to the ticket and close it.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] fuse

2012-05-05 Thread Bruce Dubbs
Fernando de Oliveira wrote:
> On 05-05-2012 07:06, Andrew Benton wrote:
>> On Sat, 05 May 2012 01:58:11 +0100
>> Bruce Dubbs  wrote:
> 
> [...]
> 
>> The config file, /etc/fuse.conf is another issue. It mentions is in the
>> README file in the Fuse source. I've never needed to
>> create /etc/fuse.conf so I didn't mention it on the Fuse page.
> 
> /etc/fuse.conf can be useful.
> 
> $ cat /etc/fuse.conf
> user_allow_other
> 
> $ ls -l /etc/fuse.conf
> -rw-r--r-- 1 root root 17 Mar 18 11:06 /etc/fuse.conf
> 
> With these permissions (0644), sshfs can mount as "myuser" and access as 
> "root" is granted:
> 
> Example:
> 
> sshfs -o default_permissions -o allow_root 
> :$HOME/MyDownloadFiles/Sistema/Linux/lfs/sources6.8 
> $HOME/sshfs
> 
> where  is to be replaced by the actual ip of the server.
> 
> Have no idea how vulnerable I am nor if anything can be done about if so.
> 
> In *buntu:
> 
> $ cat /etc/fuse.conf
> # Set the maximum number of FUSE mounts allowed to non-root users.
> # The default is 1000.
> #
> #mount_max = 1000
> 
> # Allow non-root users to specify the 'allow_other' or 'allow_root'
> # mount options.
> #
> user_allow_other
> 
> $ ls -l /etc/fuse.conf
> -rw-r--r-- 1 root fuse 216 2011-12-31 08:55 /etc/fuse.conf
> 
> Originally:
> 
> 1. "user_allow_other" was commented
> 
> 2. permissions were 0640 or 0600, can't remember, and command above could not 
> be used, as "others" and "other-groups" had no access permission.
> 
>> My feeling is that the Fuse page is Ok for now. If there are use cases
>> that require the bootscript or config file hopefully someone will
>> mention them on one of the mail lists and we can improve the page then.
>>
>> Andy
> 
> i do not use bootscript for it.

Ubuntu has:

-rw-r- 1 root fuse 216 Oct 18  2011 /etc/fuse.conf

$ sudo cat /etc/fuse.conf
# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#
#mount_max = 1000

# Allow non-root users to specify the 'allow_other' or 'allow_root'
# mount options.
#
#user_allow_other

Perhaps we need to add that just for completenes, but still not bother with a 
boot script we don't know if we need or not.  I can't find such a script in 
ubuntu.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] [blfs-book] r10082 - in trunk/BOOK: introduction/welcome xsoft/office

2012-05-05 Thread Fernando de Oliveira
On 05-05-2012 12:45, Bruce Dubbs wrote:
> Fernando de Oliveira wrote:
>> On 05-05-2012 11:42, andy@... wrote:
>>> Author: andy Date: 2012-05-05 08:42:10 -0600 (Sat, 05 May 2012) New
>>> Revision: 10082
>>>
>>> Modified: trunk/BOOK/introduction/welcome/changelog.xml 
>>> trunk/BOOK/xsoft/office/libreoffice.xml Log: Libreoffice tweaks The
>>> download script now downloads the dictionaries, help files and translations
>>> so we don't need to do that by hand.
>> Good!
>>
>>> From what I could understand in the xml diffs, good changes. The LO version
>>> seems really to be x.y.z, as you changed it to, so, once again, my mistake.
>>>
>> I did not notice or missed the hyphen (hífen, in Brazil, and I just removed
>> the ´ to incorrectly translate into English :-) removal in the book's index.
>> It is *not important*, but I always have to rethink, when not finding
>> LibreOffice with Ctrl-F in firefox, with the BLFS index page displayed, so,
>> could help others.
> Please redirect these discussions to -dev.  -book should really only be for 
> commmits and ticket changes.
>
>-- Bruce
>
>

Sorry, Bruce. Understood.

Please, Andy, when you have time, please give some thought to what I wrote 
above.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] fuse

2012-05-05 Thread Fernando de Oliveira
On 05-05-2012 12:54, Bruce Dubbs wrote:

[..]
> Ubuntu has:
>
> -rw-r- 1 root fuse 216 Oct 18  2011 /etc/fuse.conf
>
> $ sudo cat /etc/fuse.conf
> # Set the maximum number of FUSE mounts allowed to non-root users.
> # The default is 1000.
> #
> #mount_max = 1000
>
> # Allow non-root users to specify the 'allow_other' or 'allow_root'
> # mount options.
> #
> #user_allow_other
>
> Perhaps we need to add that just for completenes, but still not bother with a 
> boot script we don't know if we need or not.  I can't find such a script in 
> ubuntu.
>
>-- Bruce
>

I agree.

I am replying because, I missed to tell the main point.

For very long builds, I had trouble, because could not cp or access files from 
sshfs mount point as root. So, the script started in "myuser", and had to sudo 
for some operations, and I had to keep watching when the password was asked.

Now, for these long builds, such as FF, SM, TB, WK, QT, LO, everything can be 
run by root from start, and files can be 
copied/edited/deleted/downloaded/uploaded from/to server, to/from machine or 
web.

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] [blfs-book] r10082 - in trunk/BOOK: introduction/welcome xsoft/office

2012-05-05 Thread Andrew Benton
On Sat, 05 May 2012 17:17:08 +0100
Fernando de Oliveira  wrote:

> On 05-05-2012 12:45, Bruce Dubbs wrote:
> > Fernando de Oliveira wrote:
> >> On 05-05-2012 11:42, andy@... wrote:
> >>> Author: andy Date: 2012-05-05 08:42:10 -0600 (Sat, 05 May 2012) New
> >>> Revision: 10082
> >>>
> >>> Modified: trunk/BOOK/introduction/welcome/changelog.xml 
> >>> trunk/BOOK/xsoft/office/libreoffice.xml Log: Libreoffice tweaks The
> >>> download script now downloads the dictionaries, help files and 
> >>> translations
> >>> so we don't need to do that by hand.
> >> Good!
> >>
> >>> From what I could understand in the xml diffs, good changes. The LO 
> >>> version
> >>> seems really to be x.y.z, as you changed it to, so, once again, my 
> >>> mistake.
> >>>
> >> I did not notice or missed the hyphen (hífen, in Brazil, and I just removed
> >> the ´ to incorrectly translate into English :-) removal in the book's 
> >> index.
> >> It is *not important*, but I always have to rethink, when not finding
> >> LibreOffice with Ctrl-F in firefox, with the BLFS index page displayed, so,
> >> could help others.
> > Please redirect these discussions to -dev.  -book should really only be for 
> > commmits and ticket changes.
> >
> >-- Bruce
> >
> >
> 
> Sorry, Bruce. Understood.
> 
> Please, Andy, when you have time, please give some thought to what I wrote 
> above.

I don't understand what you've written above.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page