Discussion:
heads up: changing timers/compiled libraries
Sean Adams
2001-11-08 07:26:35 UTC
Permalink
Dean,

I put the .tar.gz under CVS in misc/ for now, until we have a better place
for it.

Sean
So will the install or setup.pl install the necessary Time:HiRes
binaries for each platform?
It will, but it doesn't yet.
Great, thanks. Sorry to be such a pain in the ass. I just want to
make sure that non-techies can get this thing running with a minimum
amount of head scratching.
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Time/Time-HiRes-01.20.tar.gz
(just "perl Makefile.pl ; make install")
ppm install Time::HiRes
Thanks. :-) At almost 11pm PST the ftp site is saturated. I guess
I'll have to wait until tomorrow. Another reason to include the
binaries in CVS and the installer. I'll try to get it working on
MacOS X too...
-dean
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
dean blackketter
2001-11-08 07:11:58 UTC
Permalink
So will the install or setup.pl install the necessary Time:HiRes
binaries for each platform?
It will, but it doesn't yet.
Great, thanks. Sorry to be such a pain in the ass. I just want to
make sure that non-techies can get this thing running with a minimum
amount of head scratching.
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Time/Time-HiRes-01.20.tar.gz
(just "perl Makefile.pl ; make install")
ppm install Time::HiRes
Thanks. :-) At almost 11pm PST the ftp site is saturated. I guess
I'll have to wait until tomorrow. Another reason to include the
binaries in CVS and the installer. I'll try to get it working on
MacOS X too...

-dean

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
dean blackketter
2003-02-22 13:26:30 UTC
Permalink
<!doctype html public "-//W3C//DTD W3 HTML//EN">
<head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [slimp3-dev] heads up: changing timers/compiled
li</title></head><body> <blockquote type="cite" cite>&gt; So will the install or setup.pl
install the necessary Time:HiRes<br>
&gt; binaries for each platform?<br>
</blockquote>
<blockquote type="cite" cite>It will, but it doesn't yet.</blockquote>
<div><br></div>
<div>Great, thanks.&nbsp; Sorry to be such a pain in the ass.&nbsp; I
just want to make sure that non-techies can get this thing running
with a minimum amount of head scratching.</div>
<div><br></div>
<blockquote type="cite" cite>Time::HiRes is easy to install.&nbsp;
Here's where to get it for *nix:<br>
</blockquote>
<blockquote type="cite"
cite
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Time/Time-HiRes-01.20.<span
</span>tar.gz<br>
(just &quot;perl Makefile.pl ; make install&quot;)<br>
<br>
Or for windows, just type:<br>
<br>
ppm install Time::HiRes</blockquote>
<div><br></div>
<div>Thanks.&nbsp; :-)&nbsp; At almost 11pm PST the ftp site is
saturated.&nbsp; I guess I'll have to wait until tomorrow.&nbsp;
Another reason to include the binaries in CVS and the installer.&nbsp;
I'll try to get it working on MacOS X too...</div>
<div><br></div>
<div>-dean</div>
</body>
</html>
Sean Adams
2001-11-08 05:45:07 UTC
Permalink
So will the install or setup.pl install the necessary Time:HiRes
binaries for each platform?
It will, but it doesn't yet.

Time::HiRes is easy to install. Here's where to get it for *nix:

ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Time/Time-HiRes-01.20.tar.gz
(just "perl Makefile.pl ; make install")

Or for windows, just type:

ppm install Time::HiRes




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Universal Inkjet Refill Kit $29.95
Refill any ink cartridge for less!
Includes black and color ink.
http://us.click.yahoo.com/ltH6zA/MkNDAA/ySSFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
dean blackketter
2001-11-08 04:51:22 UTC
Permalink
I think that this stuff shouldn't be enabled until you can make it
automatic for all supported platforms.
This should be relatively easy for new users to get started, and if
it can be scripted for the supported platforms (WinXX, Linux, MacOS
X) then it's good.
I agree, we should stay away from C until we have a good way to distribute
and intall binaries.
Time:HiRes is an exception though - we need access to gettimeofday() (and
whatever it's called in Windows) for things like text scrolling and the
ffwd/scan feature.
So will the install or setup.pl install the necessary Time:HiRes
binaries for each platform? I'm a bit afraid to update now because I
don't want to break my working setup.

-dean

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Universal Inkjet Refill Kit $29.95
Refill any ink cartridge for less!
Includes black and color ink.
http://us.click.yahoo.com/bAmslD/MkNDAA/ySSFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Sean Adams
2001-11-08 04:45:34 UTC
Permalink
I think that this stuff shouldn't be enabled until you can make it
automatic for all supported platforms.
This should be relatively easy for new users to get started, and if
it can be scripted for the supported platforms (WinXX, Linux, MacOS
X) then it's good.
I agree, we should stay away from C until we have a good way to distribute
and intall binaries.

Time:HiRes is an exception though - we need access to gettimeofday() (and
whatever it's called in Windows) for things like text scrolling and the
ffwd/scan feature.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Universal Inkjet Refill Kit $29.95
Refill any ink cartridge for less!
Includes black and color ink.
http://us.click.yahoo.com/bAmslD/MkNDAA/ySSFAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
dean blackketter
2003-02-22 13:26:34 UTC
Permalink
<!doctype html public "-//W3C//DTD W3 HTML//EN">
<head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [slimp3-dev] heads up: changing timers/compiled
li</title></head><body> <blockquote type="cite" cite>&gt; I think that this stuff shouldn't be
enabled until you can make it<br>
&gt; automatic for all supported platforms.<br>
&gt;<br>
&gt; This should be relatively easy for new users to get started, and
if<br>
&gt; it can be scripted for the supported platforms (WinXX, Linux,
MacOS<br>
&gt; X) then it's good.</blockquote>
<blockquote type="cite" cite><br>
I agree, we should stay away from C until we have a good way to
distribute<br>
and intall binaries.</blockquote>
<blockquote type="cite" cite><br>
Time:HiRes is an exception though - we need access to gettimeofday()
(and<br>
whatever it's called in Windows) for things like text scrolling and
the</blockquote>
<blockquote type="cite" cite>ffwd/scan feature.</blockquote>
<div><br></div>
<div>So will the install or setup.pl install the necessary Time:HiRes
binaries for each platform?&nbsp; I'm a bit afraid to update now
because I don't want to break my working setup.</div>
<div><br></div>
<div>-dean</div>
</body>
</html>
dean blackketter
2001-11-08 03:51:48 UTC
Permalink
I think that this stuff shouldn't be enabled until you can make it
automatic for all supported platforms.

This should be relatively easy for new users to get started, and if
it can be scripted for the supported platforms (WinXX, Linux, MacOS
X) then it's good.
Additionally, we should keep copies of the relevant binaries in CVS
and as part of the install. I'd hate to have to support users across
multiple platforms and multiple versions of libraries that they have
to install themselves.

I'm a Unix user (among other things) and I REALLY don't want to have
to mess with CPAN, etc.. unless I have to. Same when I'm on the
Windows platform.

For the Mac, well, you should just drag it to your disk and
double-click, right? :-)

-dean
How do you all think we should handle the inclusion of C libraries such as
Time::HiRes?
In Windows it's incredibly easy to install CPAN modules - just type "ppm
install Time::HiRes" and it downloads and installs everything
automatically. However, I'd prefer we used an equally easy system that
works the same on all platforms.
Here's the best way I can think of to keep the installation process
setup.pl is both the installer and the setup util. When you run setup.pl
it first checks that these libaries are present, and if not, automatically
installs them (in our private lib/). For Unices that have compilers, we
should build and install the library from source. For Windows and for
Unices that might not have gcc installed, like Solaris or MacOSX, we'll
include object code.
I'm not too worried about making it easy/transparent for Unix folks,
especially if they're using a less common flavor of Unix. They'd probably
prefer to install Time::Hires themselves. We can just have setup.pl die if
it's not there, and print out some instructions on how to obtain and
install it.
- Now using time::hires (won't be included in lib/CPAN)
- Add documentation & examples
- Add some more utility and debug functions, eg "clearTimer" and
"isTimerSet". Also setTimer will return a reference to the new timer
struct, which the caller is responsible for hanging on to in case he ever
wants to clear the timer.
- Fix existing usage of timers.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
To unsubscribe from this group, send an email to:
slimp3-dev-unsubscribe-***@public.gmane.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
dean blackketter
2003-02-22 13:26:36 UTC
Permalink
<!doctype html public "-//W3C//DTD W3 HTML//EN">
<head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>Re: [slimp3-dev] heads up: changing timers/compiled
li</title></head><body>
<div>I think that this stuff shouldn't be enabled until you can make
it automatic for all supported platforms.</div>
<div><br></div>
<div>This should be relatively easy for new users to get started, and
if it can be scripted for the supported platforms (WinXX, Linux, MacOS
X) then it's good.</div>
<div>Additionally, we should keep copies of the relevant binaries in
CVS and as part of the install.&nbsp; I'd hate to have to support
users across multiple platforms and multiple versions of libraries
that they have to install themselves.</div>
<div><br></div>
<div>I'm a Unix user (among other things) and I REALLY don't want to
have to mess with CPAN, etc.. unless I have to.&nbsp; Same when I'm on
the Windows platform.</div>
<div><br></div>
<div>For the Mac, well, you should just drag it to your disk and
double-click, right? :-)&nbsp; </div>
<div><br></div>
<div>-dean</div>
<div><br></div>
<blockquote type="cite" cite>How do you all think we should handle the
inclusion of C libraries such as</blockquote>
<blockquote type="cite" cite>Time::HiRes?</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>In Windows it's incredibly easy to
install CPAN modules - just type &quot;ppm</blockquote>
<blockquote type="cite" cite>install Time::HiRes&quot; and it
downloads and installs everything</blockquote>
<blockquote type="cite" cite>automatically. However, I'd prefer we
used an equally easy system that</blockquote>
<blockquote type="cite" cite>works the same on all
platforms.</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Here's the best way I can think of to
keep the installation process</blockquote>
<blockquote type="cite" cite>simple:</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>setup.pl is both the installer and the
setup util.&nbsp; When you run setup.pl</blockquote>
<blockquote type="cite" cite>it first checks that these libaries are
present, and if not, automatically</blockquote>
<blockquote type="cite" cite>installs them (in our private lib/). For
Unices that have compilers, we</blockquote>
<blockquote type="cite" cite>should build and install the library from
source. For Windows and for</blockquote>
<blockquote type="cite" cite>Unices that might not have gcc installed,
like Solaris or MacOSX, we'll</blockquote>
<blockquote type="cite" cite>include object code.</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>I'm not too worried about making it
easy/transparent for Unix folks,</blockquote>
<blockquote type="cite" cite>especially if they're using a less common
flavor of Unix. They'd probably</blockquote>
<blockquote type="cite" cite>prefer to install Time::Hires themselves.
We can just have setup.pl die if</blockquote>
<blockquote type="cite" cite>it's not there, and print out some
instructions on how to obtain and</blockquote>
<blockquote type="cite" cite>install it.</blockquote>
<div><br></div>
<div><br>
<br>
</div>
<blockquote type="cite" cite>I'll be doing some work on timers:<br>
<br>
- Now using time::hires (won't be included in lib/CPAN)</blockquote>
<blockquote type="cite" cite><br>
- Add documentation &amp; examples<br>
<br>
- Add some more utility and debug functions, eg &quot;clearTimer&quot;
and<br>
&quot;isTimerSet&quot;. Also setTimer will return a reference to the
new timer<br>
struct, which the caller is responsible for hanging on to in case he
ever<br>
wants to clear the timer.<br>
<br>
- Fix existing usage of timers.<br>
</blockquote>
<blockquote type="cite" cite><br>
To unsubscribe from this group, send an email to:<br>
slimp3-dev-unsubscribe-***@public.gmane.org</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>&nbsp;</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/</blockquote>
<div><br></div>
</body>
</html>

Loading...