Tk an Panther

2004-02-16 Thread Adriano Allora
Hi to all,
maybe I'm out of topic: his one is more properly a shell programmming 
problem, but I have no idea about how to install pTk on my apple.
I use iBook with Panther (shell: tcsh), I downloaded Tk804.025 beta 14 
from cpan and I read the readme.darwin file, in which is written:

For Tk804.025 to build properly on Mac OS X 10.2 (Jaguar) or 10.3
(Panther), Perl must be built dynamic, rather that the default of
static.  Use a Configure incantation similar to this:
sh Configure -des -Duseshrplib [-Dprefix=/path/to/your/private/perl]

S. Lidie, 2003/10/27

ok. now, I have no idea how to translate the line
sh Configure -des -Duseshrplib [-Dprefix=/path/to/your/private/perl]
in a real command for me (it is necessary, for example, to set prefix?, 
can't I use the /System/Library/Perl/5.8.1 diterctory in which are 
stored all the other perl modules?).

someone can help me?
thanks a lot,
adriano allora



Re: content management question

2002-10-14 Thread Adriano Allora

You can look for PHPNuke too: I've worked on it for a website (the 
designer needed some help)(and its url is www.norisberghen.it) and I 
found in that system all you need.

adr


 On Monday, October 14, 2002, at 10:07 AM, Puneet Kishor wrote:

 Listers,

 While I wait to resolve perl errors on my Jaguar perl 5.6.0, I have a 
 more generic question re content-management.

 I want to make a few websites for a few starving artists and 
 galleries starving = zero or tending to zero resources; artists = 
 almost computer illiterates). I have promised them the world in that 
 the websites would be dynamic... visitors would be able to search for 
 artworks based on different criteria, there would be an events 
 calendar, etc. etc. More than anything, once set up, these 
 artists/galleries would be able update the website themselves. After 
 promising all this, I said to myself, Oops!.

 Additionally, I have to develop these websites on my iBook, and host 
 them on a cheap, server I am going to buy from eBay and install 
 FreeBSD on it. My assumption is the FreeBSD is gonna be the closest 
 to OS X in its directory layout and tools, and therefore not send me 
 on too much of a loop (while these artists view me as a computer god, 
 I am actually a Unix newbie).

 Here is my thinking -- I should consider using something like 
 MoveableType or even a wiki to make the websites. That would allow 
 the artists to themselves update the content as desired. I could use 
 something like Mason, but I really don't want to get into mod_perl 
 for now (I know Mason can work without mod_perl, but really likes 
 mod_perl around). I want to have a little a standard deviation as 
 possible from the stock installs... read, Apache 1.3.26 and perl 
 5.6.0 that comes with OS X. I am not averse to MySQL (I know MySQL 
 quite well) but am not comfortable with PostGres (hence, 
 Bricolage/Mason would not be an easy choice for me).

 MoveableType is really elegant... could it be configured to create an 
 art gallery website? Wiki is perhaps the most elegant in its 
 simplicity... what do you folks feel about that?

 Any advice much appreciated on any or all aspects of the above.

 Puneet.






Re: dos2unix... and other

2002-10-06 Thread Adriano Allora

Hi to all,
and thank you for the solutions you adviced me about the dos2unix 
problem (when I saw with the cat command that nvi doesn't change the 
content files I decided to substitute all the line endings with \n and 
stop there).
Now I have another problem: the 5.6 version perl on jaguar doesn't 
accept the escape character \s, does it?
When I use it in a regexp (s/\s+/\s/g;)(I want it works to singularize 
all the multi-whitespaces), the Terminal tells me:
Unrecognized escape \s passed through at cleaner line 27.

adr




Re: dos2unix

2002-09-30 Thread Adriano Allora

On the one hand I didn't express myself very well, but for the other 
hand I found other aspects of the problem.

Actual situation: I work with mac osx.2, vi editor, a pack of dos files 
to work on.
When I open my files with vi I see some strings instead of stressed 
letters and signs.
For instance:
carriage return = ^M
u grave = \xf9
e grave = \xe8
a grave = \xe0
o grave = \xf2
euro sign = \x80
i grave = \xec
BUT, if I write the same letters and signs on the editor, they appears 
as:
carriage return =
a grave = \xc3\xa0
e grave = \xc3\xa8
e acute = \xc3\xa9
u grave = \xc3\xb9
i grave = \xc3\xac
o grave = \xc3\xb2
euro: \xe2\x82\xac

so, I don't know I can face the problem: to create an array of strings 
to substitute is a non-sense, because of I haven't got two lists in 
one-to-one correspondence... er, I suppose (I'm not sure).
What's yous opinion about?

adr




PS: I'm particulary grateful to Robin and Ken Williams!  : )




dos2unix

2002-09-26 Thread Adriano Allora

hi to all!
I need to convert some dos files in unix files, are there commands I can 
use (like recode)?
thanks a lot,

adr