[fsug-tvm]: How to test latest software from source?

2012-07-30 Thread Visakh

@Syam sir: Thanks for the clear reply - it makes things a lot easier now. I 
was already familiar with some of your suggestion, but others were plain 
new to me. I had partially tried these ideas earlier when I tried a 
Django/Apache/Python/Postgresql server stack. But I still had to ask since 
there were many unsolved problems.

Most 'make' based packages will have a 'prefix' argument to the 'configure' 
> script to install to a custom directory. For example --prefix=/my/path will 
> install everything relative to that path: /my/path/lib, /my/path/include 
> etc.
>
 
I used the same method for the server stack. Even python setup-tools has a 
--prefix option.
 

> Again, most packages I use have an argument to configure the directories 
> for individual dependent libraries. For example, when building gcc, IIRC, 
> there are options --with-mpfr=, --with-gmp= which allow you to set the same 
> prefix directory as you used when building GMP and MPFR for compiling gcc. 
> There are even more options for fine tuning which will let you specify the 
> 'include' and 'lib' separately, rather than specifying the 'prefix' path.
>

This was the section that I really needed help with. I never figured out 
the way to specify dependencies. At that time, it was not important. But 
this time, I am trying to prepare a Python/Numpy/IPython/Emacs based 
scientific stack. Unfortunately, all these packages are undergoing 
transition (mainly due to py2 to py3 porting) and a dependency hell is in 
the making.
Still, it makes me wonder if it is not possible to specify a 'preferred 
dependency/library location' for the entire stack, rather than having to 
specify location of each dependency to each package during compilation. I 
will check the LD_LIBRARY_PATH environment variable you suggested, to see 
if that can do something.

For this, I guess you'll have to set LD_LIBRARY_PATH environment variable 
> to point to your custom directories before you invoke your app. You can do 
> this in a wrapper starter script so that it doesn't get applied to the 
> whole system.
>
 
Actually, I was referring to a situation where one app invokes another - 
not the case of dynamic linking. But the solution was similar to what you 
suggested. I created a wrapper script with the PATH environment variable 
pointing to the other preferred apps (this was necessary since I wanted 
Apache to invoke my freshly compiled Python binaries). My only regret is 
that I couldn't find a single method to specify the PATH for all the apps 
in the stack.

Your reply gave a lot of methods and clues for solving the problem. Thanks!

Regards,
Gokul Das

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


[fsug-tvm] Re: FSF Statement on Secure Boot

2012-07-30 Thread Visakh

On Monday, 30 July 2012 13:25:59 UTC+5:30, V. Sasi Kumar wrote:
>
> Dear Visakh, 
>
> Thank you for posting it to smc. That is where I should have originally 
> posted it, and, in fact, that is what I thought I had done. Some stupid 
> oversight it was to post it to lug. Anyway, there is no need to 
> apologise. You only corrected a mistake that I made. 
>
> Thanks again and regards, 
> Sasi 
>
>  
@ Sasi sir: Oops! My bad! Actually, it was the other way around! You did 
post it to SMC, and I cross posted it from SMC to LUG. That was what I 
apologised for! :) I think I expressed the idea wrongly and caused the 
confusion. I will take more care in the future to improve my communication 
skills! I have to apologise the second time in a single thread! :D

Anyway, I cross posted this because I thought it affected every computer 
user today - more so the ordinary people. As long as there is an option to 
disable secure boot, newer computer systems can be used exactly the same 
way as with BIOS - but with all advantages of UEFI. But Microsoft has 
already made it clear to OEMs that ARM based systems running windows MUST 
NOT have an option to disable secure boot. How long before they arm twist 
OEMs to do the same for x86? If that happens, our only option will be to 
add our own cryptographic key or the distro's cryptographic key to the UEFI 
memory (assuming that atleast this option is not taken away). Anyways, it 
will be one hell of a headache to install other OSs from then on.

Regards,
Gokul Das

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [fsug-tvm] Regarding mozilla browser hanging issue

2012-07-30 Thread JeevZ
this shock wave, is it ok with chrome/opera/IE??


*-- JeevZ *

+---+
*  *
*| !!Its Better to be Blessed With Nothing Than Cursed with Blessings!!  |*
+-
--
+
Jeevachaithanyan Sivanandan
+60102780263
http://about.me/jeevanism



On Mon, Jul 30, 2012 at 1:38 PM, Manoj K  wrote:

> Shockwave flash player is adobe product only, its Adobe Shokwave Player
> originally. There is any other flash player add-on  we can use apart from
> shockwave that will support mozilla.
>
>
> On Mon, Jul 30, 2012 at 11:02 AM, JeevZ  wrote:
>
>> @Manoj..
>>
>> if I understand you right, you need a flash-plugin to play flash movies,
>> streaming movies right? you can install flash plugin from Adobe.
>> There is an add-on to block flash-videos, it will let you to play flash
>> video only if you want to. This helps to load flash enabled websites faster
>> on Mozilla FF..
>>
>>
>> *-- JeevZ *
>>
>>
>> +---+
>> *  *
>> *| !!Its Better to be Blessed With Nothing Than Cursed with Blessings!!
>>  |*
>> +-
>> --
>> +
>> Jeevachaithanyan Sivanandan
>> +60102780263
>> http://about.me/jeevanism
>>
>>
>>
>> On Mon, Jul 30, 2012 at 11:29 AM, Anush Anil kumar wrote:
>>
>>>
>>> I never used windows on my pc for last 3 years so, i have no idea with
>>> that things.
>>>
>>> On Mon, Jul 30, 2012 at 8:31 AM, Manoj K  wrote:
>>>
 The issue with Shockwave flash add-on, i disabled the same now its
 working fine. Can u any one please suggest alternative for Shokwave flash
 for mozilla.


 On Mon, Jul 30, 2012 at 7:51 AM, Anush Anil kumar 
 wrote:

> May be you people can go to Bugzilla and make a bug.
>
>
> On Mon, Jul 30, 2012 at 6:30 AM, JeevZ  wrote:
>
>>
>> Mozilla's gecko engine is too fat. Even in my OpenSuse, it hangs.
>> what you can do is to remove all add-on. Use minimum add-on only for 
>> must.
>> Try some custom build of Firefox such  as SwiftFox.
>>
>> Webkit is faster than gecko, hence chrome is faster. Hope Mozilla's
>> guys will take care of this issue and optimized their future versions
>>
>>
>> *-- JeevZ *
>>
>>
>> +---+
>> *  *
>> *| !!Its Better to be Blessed With Nothing Than Cursed with
>> Blessings!!  |*
>> +-
>> --
>> +
>> Jeevachaithanyan Sivanandan
>> +60102780263
>> http://about.me/jeevanism
>>
>>
>>
>> On Mon, Jul 30, 2012 at 4:49 AM, perfect indian <
>> hindustani.in...@gmail.com> wrote:
>>
>>> tried other browser too??
>>>
>>> --
>>> "Freedom is the only law".
>>> "Freedom Unplugged"
>>> http://www.ilug-tvm.org
>>>
>>> You received this message because you are subscribed to the Google
>>> Groups "ilug-tvm" group.
>>> To control your subscription visit
>>> http://groups.google.co.in/group/ilug-tvm/subscribe
>>> To post to this group, send email to ilug-tvm@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> ilug-tvm-unsubscr...@googlegroups.com
>>>
>>>
>>>
>>> For details visit the google group page:
>>> http://groups.google.com/group/ilug-tvm?hl=en
>>>
>>
>> --
>> "Freedom is the only law".
>> "Freedom Unplugged"
>> http://www.ilug-tvm.org
>>
>> You received this message because you are subscribed to the Google
>> Groups "ilug-tvm" group.
>> To control your subscription visit
>> http://groups.google.co.in/group/ilug-tvm/subscribe
>> To post to this group, send email to ilug-tvm@googlegroups.com
>> To unsubscribe from this group, send email to
>> ilug-tvm-unsubscr...@googlegroups.com
>>
>>
>>
>> For details visit the google group page:
>> http://groups.google.com/group/ilug-tvm?hl=en
>>
>
>
>
> --
> A Anush
>  about.me/aanush
>
> --
> "Freedom is the only law".
> "Freedom Unplugged"
> http://www.ilug-tvm.org
>
> You received this message because you are subscribed to the Google
> Groups "ilug-tvm" group.
> To control your subscription visit
> http://groups.google.co.in/group/ilug-tvm/subscribe
> To post to this group, send email to ilug-tvm@googlegroups.com
> To unsubscribe from this group, send email to
> ilug-tvm-unsubscr...@googlegroups.com
>
>
>
> For details visit the google group page:
> http://groups.google.com/group/ilug-

Re: [fsug-tvm]: How to test latest software from source?

2012-07-30 Thread JeevZ
@syam.

  Very good tips.. Its useful to others too


*-- JeevZ *

+---+
*  *
*| !!Its Better to be Blessed With Nothing Than Cursed with Blessings!!  |*
+-
--
+
Jeevachaithanyan Sivanandan
+60102780263
http://about.me/jeevanism



On Mon, Jul 30, 2012 at 5:53 PM, Syam  wrote:

>
>
> On Mon, Jul 30, 2012 at 9:02 AM, Visakh  wrote:
>
>>
>>
>> That is, I want to be able to test the software without touching the
>> default installation (install to a non standard location).
>
>
> Most 'make' based packages will have a 'prefix' argument to the
> 'configure' script to install to a custom directory. For example
> --prefix=/my/path will install everything relative to that path:
> /my/path/lib, /my/path/include etc.
>
>
>> I am willing to compile all required dependencies from source, but the
>> compiled apps should be able to link with custom-compiled SOs, rather than
>> with the distro's version (ie, ld configuration).
>
>
> Again, most packages I use have an argument to configure the directories
> for individual dependent libraries. For example, when building gcc, IIRC,
> there are options --with-mpfr=, --with-gmp= which allow you to set the same
> prefix directory as you used when building GMP and MPFR for compiling gcc.
> There are even more options for fine tuning which will let you specify the
> 'include' and 'lib' separately, rather than specifying the 'prefix' path.
> I have done this for building new GCC on an RHEL machine without affecting
> the installed versions.
>
>
>
>> The apps should also invoke other custom-compiled apps when available.
>
>
> For this, I guess you'll have to set LD_LIBRARY_PATH environment variable
> to point to your custom directories before you invoke your app. You can do
> this in a wrapper starter script so that it doesn't get applied to the
> whole system.
>
> --
> Regards,
>
> Syam
> sya...@gmail.com
>
> --
> "Freedom is the only law".
> "Freedom Unplugged"
> http://www.ilug-tvm.org
>
> You received this message because you are subscribed to the Google
> Groups "ilug-tvm" group.
> To control your subscription visit
> http://groups.google.co.in/group/ilug-tvm/subscribe
> To post to this group, send email to ilug-tvm@googlegroups.com
> To unsubscribe from this group, send email to
> ilug-tvm-unsubscr...@googlegroups.com
>
>
>
> For details visit the google group page:
> http://groups.google.com/group/ilug-tvm?hl=en
>

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [fsug-tvm] Regarding mozilla browser hanging issue

2012-07-30 Thread jaseem abid
On Sun, Jul 29, 2012 at 9:38 PM, Manoj K  wrote:

> Hi All,
>
> Please help and let me know why the mozilla firefox
> hanging continuously, while browsing in Windows.  we are facing the issue
> only in Windows and  never faced such issue in Ubuntu.
>

You are running world's biggest virus, windows. Why not use a libre OS ?

-- 
Jaseem Abid
http://jaseemabid.github.com

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [fsug-tvm]: How to test latest software from source?

2012-07-30 Thread Syam
On Mon, Jul 30, 2012 at 9:02 AM, Visakh  wrote:

>
>
> That is, I want to be able to test the software without touching the
> default installation (install to a non standard location).


Most 'make' based packages will have a 'prefix' argument to the 'configure'
script to install to a custom directory. For example --prefix=/my/path will
install everything relative to that path: /my/path/lib, /my/path/include
etc.


> I am willing to compile all required dependencies from source, but the
> compiled apps should be able to link with custom-compiled SOs, rather than
> with the distro's version (ie, ld configuration).


Again, most packages I use have an argument to configure the directories
for individual dependent libraries. For example, when building gcc, IIRC,
there are options --with-mpfr=, --with-gmp= which allow you to set the same
prefix directory as you used when building GMP and MPFR for compiling gcc.
There are even more options for fine tuning which will let you specify the
'include' and 'lib' separately, rather than specifying the 'prefix' path.
I have done this for building new GCC on an RHEL machine without affecting
the installed versions.



> The apps should also invoke other custom-compiled apps when available.


For this, I guess you'll have to set LD_LIBRARY_PATH environment variable
to point to your custom directories before you invoke your app. You can do
this in a wrapper starter script so that it doesn't get applied to the
whole system.

-- 
Regards,

Syam
sya...@gmail.com

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en


Re: [fsug-tvm] Re: FSF Statement on Secure Boot

2012-07-30 Thread V. Sasi Kumar
On Sun, 2012-07-29 at 21:07 -0700, Visakh wrote:
> My apologies to Sasi sir (Shri.V. Sasi Kumar, Free Software Foundation
> of India) for cross posting his mail to SMC here. I do believe that
> this issue will become prominent very soon - as the latest windows 8
> may compulsorily require UEFI + Secure Boot in place of the age old
> BIOS. Newer systems may all have only UEFI. The Secure Boot technology
> in present form is mostly harmless for advanced users who want to
> install their own OSs line Gnu/Linux (either with some extra effort,
> or by disabling secure boot). Novice may find the extra steps
> associated with secure boot a little intimidating. But a danger exists
> that the market monopolies may coax the system manufacturers (OEMs) to
> take away options to disable secure boot or add your own keys. If that
> happens, it will become impossible to install other OSs without
> rooting the motherboard. I am leaving this here for further thoughts.

Dear Visakh,

Thank you for posting it to smc. That is where I should have originally
posted it, and, in fact, that is what I thought I had done. Some stupid
oversight it was to post it to lug. Anyway, there is no need to
apologise. You only corrected a mistake that I made.

Thanks again and regards,
Sasi

-- 
V. Sasi Kumar
Free Software Foundation of India
http://swatantryam.blogspot.com

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug-tvm@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-unsubscr...@googlegroups.com



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en