Re: perl and ports
* Gert Cuykens <[EMAIL PROTECTED]> [0137 23:37]: > No i dont know anything about c++ or perl, ok i know what a class is :P > For me is not realy about perl it self its about the way it get used > as a tool to help build things. For me freebsd is build as a base that > can handle everything designed for it. Like you said, you're not a developer, so no offence but you don't know what you're talking about. > So if want to (install) buy a car and go to the (ports) shop i dont > expect to bring my (perl) wrench to the (ports) shop . That's not what you're saying. you're asking the people who build your car not to use a wrench but their bare hands because you have something against wrenches for some reason. -- 'Some people, when confronted with a problem, think I know, I'll use regular expressions. Now they have two problems.' -- Jamie Zawinski Rasputin :: Jack of All Trades - Master of Nuns ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
> > So if want to (install) buy a car and go to the (ports) shop i dont > > expect to bring my (perl) wrench to the (ports) shop . > > No, you expect a competent shop to have the tool and know > how to use it. Otherwise you wouldn't take your car there. > Ok thats true but a toolbox belongs in the car factory (base) and not in a car shop (ports) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
> > > Let me get this straight. You're not a developer, so you don't know > > languages or how to code. Yet you're completely convinced that perl is > > insecure and should never be used anywhere, and you're equally convinced > > that no developer should be using it for their programs. > > > > Is that about right? > > No i dont know anything about c++ or perl, ok i know what a class is :P > For me is not realy about perl it self its about the way it get used > as a tool to help build things. For me freebsd is build as a base that > can handle everything designed for it. If application need something > to help it build, it should belong to the base and not to a external > perl tool. So, then the only acceptable way to develop something for FreeBSD is to hand toggle in machine code?? I really think the developer should have a good set of tools at hand that enable creation of a quality product. Perl is very good for certain types of scripting and leads to something actually getting developed rather than just thought about forever. Actually, although I have read the rational for removing Perl from the base, I am rather sorry to see it go. Now, I will have to add one more port at every install, kind of a big one too. We use Perl quite a bit here. > So if want to (install) buy a car and go to the (ports) shop i dont > expect to bring my (perl) wrench to the (ports) shop . No, you expect a competent shop to have the tool and know how to use it. Otherwise you wouldn't take your car there. jerry > > > Bad analogy. A better one would go something like this. When you buy a > > new television, you expect that the manufacturer used the best and most > > efficient techniques to build it. Yet, without any knowledge of why the > > manufacturer used those techniques, you think he was wrong to use them and > > he should change. > > > > What's wrong with this picture? > > nothing wrong with that, like i said i am only asking questions. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
> > > > For me freebsd is build as a base that > > > can handle everything designed for it. If application need something > > > to help it build, it should belong to the base and not to a external > > > perl tool. > > > > > Then it wouldn't hurt for you to know that perl *is* part of the base of > > FreeBSD. There is *also* a port for it, but it is not necessary to install > > the port. (I believe this changes in the 5.x series, but I'm not positive > > about that.) > > If it is part of the base meaning when its located in the /usr/src/ > then i am happy :) No, part of the base means it is installed with the OS without having to install it later from ports. Also, I believe it is correct that it has been removed from base in 5.xxx (unless they put it back for some reason). jerry > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
> > For me freebsd is build as a base that > > can handle everything designed for it. If application need something > > to help it build, it should belong to the base and not to a external > > perl tool. > > > Then it wouldn't hurt for you to know that perl *is* part of the base of > FreeBSD. There is *also* a port for it, but it is not necessary to install > the port. (I believe this changes in the 5.x series, but I'm not positive > about that.) If it is part of the base meaning when its located in the /usr/src/ then i am happy :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
--On Wednesday, January 26, 2005 12:35:32 AM +0100 Gert Cuykens <[EMAIL PROTECTED]> wrote: For me freebsd is build as a base that can handle everything designed for it. If application need something to help it build, it should belong to the base and not to a external perl tool. Then it wouldn't hurt for you to know that perl *is* part of the base of FreeBSD. There is *also* a port for it, but it is not necessary to install the port. (I believe this changes in the 5.x series, but I'm not positive about that.) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
> Let me get this straight. You're not a developer, so you don't know > languages or how to code. Yet you're completely convinced that perl is > insecure and should never be used anywhere, and you're equally convinced > that no developer should be using it for their programs. > > Is that about right? No i dont know anything about c++ or perl, ok i know what a class is :P For me is not realy about perl it self its about the way it get used as a tool to help build things. For me freebsd is build as a base that can handle everything designed for it. If application need something to help it build, it should belong to the base and not to a external perl tool. So if want to (install) buy a car and go to the (ports) shop i dont expect to bring my (perl) wrench to the (ports) shop . > Bad analogy. A better one would go something like this. When you buy a > new television, you expect that the manufacturer used the best and most > efficient techniques to build it. Yet, without any knowledge of why the > manufacturer used those techniques, you think he was wrong to use them and > he should change. > > What's wrong with this picture? nothing wrong with that, like i said i am only asking questions. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
Gert Cuykens wrote: I want a freebsd with cvsup x11 and a gnome-lite desktop. Its what i like about freebsd filosofie you have a house and you can chose your own freebsd port furniture. For me perl is a closet that i dont want because it doesnt go well with my php painting and my apache carpet. If you're nice about it, there's no real harm in asking questions of developers whose products use Perl, but since and earlier part of the thread cited security concerns, consider what's found at: http://www.securityfocus.com/bid/keyword/ first type in Perl, get one page of hits since 1998 then type in PHP, get one page of hits since *December* The Perl hits are largely dumb things people did with Perl, not Perl itself. PHP certainly has a few of those (dumb things people did), but also quite a few that are inherent flaws of PHP. Perl is called "the duct tape of the Internet". It does far more support work than you probably suspect, and has a pretty good track record as such things go. Recommend you learn a lot more about "the robot arm" before asking for its removal. ;-) -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) , (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
Gert Cuykens wrote: On Tue, 25 Jan 2005 14:47:32 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: [ ... ] no why would it irritate developers ? Its just a question ? i only want them to think a bit before they bring in perl to build there application. I am not a developer so i can not think for them i can only ask questions. I would not even ask them if the application itself would use it. Then i would accept it as part of a furniture. Let's put it this way: before you ask someone to remove Perl from a port, try to make the port work without Perl yourself. In many cases, you will not be able to do so, because the dependency on Perl exists because it is needed for the port to function. While you are right that developers should not include unnecessary dependencies on Perl, lots of software is written in that language -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
--On Tuesday, January 25, 2005 11:59:54 PM +0100 Gert Cuykens <[EMAIL PROTECTED]> wrote: no why would it irritate developers ? Its just a question ? i only want them to think a bit before they bring in perl to build there application. I am not a developer so i can not think for them i can only ask questions. I would not even ask them if the application itself would use it. Then i would accept it as part of a furniture. Let me get this straight. You're not a developer, so you don't know languages or how to code. Yet you're completely convinced that perl is insecure and should never be used anywhere, and you're equally convinced that no developer should be using it for their programs. Is that about right? PS if you buy a new television do you still want the robotic arm of the factory standing next to it in your living room ? I can only talk about cosmetic things as a user because i dont know how a television works inside. Bad analogy. A better one would go something like this. When you buy a new television, you expect that the manufacturer used the best and most efficient techniques to build it. Yet, without any knowledge of why the manufacturer used those techniques, you think he was wrong to use them and he should change. What's wrong with this picture? Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, 25 Jan 2005 14:47:32 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Tue, Jan 25, 2005 at 11:41:56PM +0100, Gert Cuykens wrote: > > ps who is the imake developer ? > > > > Believe me i am going to mail every developer where perl comes in > > between me and the application :P > > That would mostly just irritate developers and point out your own > ignorance. > > I think you need to learn some more about how the ports collection > works before you embark upon this crusade - in particular, understand > how and why perl is used in the places it is, and whether it's > feasible to remove it (in most cases it is not). > > Kris > no why would it irritate developers ? Its just a question ? i only want them to think a bit before they bring in perl to build there application. I am not a developer so i can not think for them i can only ask questions. I would not even ask them if the application itself would use it. Then i would accept it as part of a furniture. PS if you buy a new television do you still want the robotic arm of the factory standing next to it in your living room ? I can only talk about cosmetic things as a user because i dont know how a television works inside. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, Jan 25, 2005 at 11:51:28PM +0100, David Landgren wrote: > Kris Kennaway wrote: > >> > >>I will start with the cvsup developer :P > > > > > >cvsup itself doesn't require perl to build (as you can see from the > >lack of mention in the makefile), it's one of the other build > >dependencies. > > Well I think Modula-3 is find totally useless and even obsolete and dead > as far as languages go. Except that it is needed to build cvsup :) Thanks for sharing. Kris pgpv7RRCm8QBo.pgp Description: PGP signature
Re: perl and ports
Kris Kennaway wrote: I will start with the cvsup developer :P cvsup itself doesn't require perl to build (as you can see from the lack of mention in the makefile), it's one of the other build dependencies. Well I think Modula-3 is find totally useless and even obsolete and dead as far as languages go. Except that it is needed to build cvsup :) David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, Jan 25, 2005 at 11:41:56PM +0100, Gert Cuykens wrote: > ps who is the imake developer ? > > Believe me i am going to mail every developer where perl comes in > between me and the application :P That would mostly just irritate developers and point out your own ignorance. I think you need to learn some more about how the ports collection works before you embark upon this crusade - in particular, understand how and why perl is used in the places it is, and whether it's feasible to remove it (in most cases it is not). Kris pgp9ofsKPVxgD.pgp Description: PGP signature
Re: perl and ports
ps who is the imake developer ? Believe me i am going to mail every developer where perl comes in between me and the application :P I dont want perl , i know it can do great things but i dont want it. Its a bit like internet explorer browser or msn messenger in windows. I just want a windows not a browser or a messenger. I want a freebsd with cvsup x11 and a gnome-lite desktop. Its what i like about freebsd filosofie you have a house and you can chose your own freebsd port furniture. For me perl is a closet that i dont want because it doesnt go well with my php painting and my apache carpet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, Jan 25, 2005 at 11:23:09PM +0100, Gert Cuykens wrote: > so if i go to a ports tree directory how do i display a list of all > dependencies without compiling it ? > > I am guessing something like make info :) 'make pretty-print-run-depends-list' or 'make pretty-print-build-depends-list' depending on if you want the run-time dependencies or the build dependencies. If you had read the ports(7) manpage you would already have known this. Read it before you ask any more questions that are answered in there. -- Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
so if i go to a ports tree directory how do i display a list of all dependencies without compiling it ? I am guessing something like make info :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, Jan 25, 2005 at 08:00:54PM +0100, Gert Cuykens wrote: > On Tue, 25 Jan 2005 10:33:25 -0600, Paul Schmehl <[EMAIL PROTECTED]> wrote: > > --On Tuesday, January 25, 2005 09:26:07 AM +0100 Gert Cuykens > > <[EMAIL PROTECTED]> wrote: > > > > > > this is what i dont understand only need perl to compile it ? > > > > > > so some pakeges need perl to compile and some dont ? why not make them > > > all perl independent ? > > > > This shouldn't be too hard to do. All you have to do is contact the > > developers for the 40,000+ different ports and ask them to please stop > > using perl. Once they all comply, the FreeBSD port maintainers can > > eliminate perl. (Course I'll be pissed, because I use perl a lot.) > > > > Paul Schmehl ([EMAIL PROTECTED]) > > Adjunct Information Security Officer > > The University of Texas at Dallas > > AVIEN Founding Member > > http://www.utdallas.edu > > I will start with the cvsup developer :P cvsup itself doesn't require perl to build (as you can see from the lack of mention in the makefile), it's one of the other build dependencies. Kris pgpqdreGn7SKE.pgp Description: PGP signature
Re: perl and ports
In the last episode (Jan 25), Gert Cuykens said: > On Tue, 25 Jan 2005 10:33:25 -0600, Paul Schmehl <[EMAIL PROTECTED]> wrote: > > On Tuesday, January 25, 2005 09:26:07 AM +0100 Gert Cuykens <[EMAIL > > PROTECTED]> wrote: > > > this is what i dont understand only need perl to compile it ? > > > > > > so some pakeges need perl to compile and some dont ? why not make > > > them all perl independent ? > > > > This shouldn't be too hard to do. All you have to do is contact > > the developers for the 40,000+ different ports and ask them to > > please stop using perl. Once they all comply, the FreeBSD port > > maintainers can eliminate perl. (Course I'll be pissed, because I > > use perl a lot.) > > I will start with the cvsup developer :P Note that cvsup doesn't depend on perl itself; it does default to having a GUI, which pulls in a dependency on the X11 libs, which pulls in imake, which depends on perl. Either installing the imake package via pkg-add, or building the cvsup-without-gui port, will let you install cvsup without perl. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tuesday 25 January 2005 01:00 pm, Gert Cuykens wrote: > On Tue, 25 Jan 2005 10:33:25 -0600, Paul Schmehl <[EMAIL PROTECTED]> wrote: > > --On Tuesday, January 25, 2005 09:26:07 AM +0100 Gert Cuykens > > > > <[EMAIL PROTECTED]> wrote: > > > this is what i dont understand only need perl to compile it ? > > > > > > so some pakeges need perl to compile and some dont ? why not make > > > them all perl independent ? > > > > This shouldn't be too hard to do. All you have to do is contact > > the developers for the 40,000+ different ports and ask them to > > please stop using perl. Once they all comply, the FreeBSD port > > maintainers can eliminate perl. (Course I'll be pissed, because I > > use perl a lot.) > > > > Paul Schmehl ([EMAIL PROTECTED]) > > Adjunct Information Security Officer > > The University of Texas at Dallas > > AVIEN Founding Member > > http://www.utdallas.edu > > I will start with the cvsup developer :P Well, I'm sitting here thinking this is pretty humorous. I don't know if you're serious, or if this is somewhat of comic statement. I guess it doesn't matter, I just find it humorous. By the way, what have you decided to do about perl? Other than start with the cvsup developer? Don -- Donald J. O'Neill [EMAIL PROTECTED] I'm not totally useless, I can be used as a bad example. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, 25 Jan 2005 10:33:25 -0600, Paul Schmehl <[EMAIL PROTECTED]> wrote: > --On Tuesday, January 25, 2005 09:26:07 AM +0100 Gert Cuykens > <[EMAIL PROTECTED]> wrote: > > > > this is what i dont understand only need perl to compile it ? > > > > so some pakeges need perl to compile and some dont ? why not make them > > all perl independent ? > > This shouldn't be too hard to do. All you have to do is contact the > developers for the 40,000+ different ports and ask them to please stop > using perl. Once they all comply, the FreeBSD port maintainers can > eliminate perl. (Course I'll be pissed, because I use perl a lot.) > > Paul Schmehl ([EMAIL PROTECTED]) > Adjunct Information Security Officer > The University of Texas at Dallas > AVIEN Founding Member > http://www.utdallas.edu I will start with the cvsup developer :P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
--On Tuesday, January 25, 2005 09:26:07 AM +0100 Gert Cuykens <[EMAIL PROTECTED]> wrote: this is what i dont understand only need perl to compile it ? so some pakeges need perl to compile and some dont ? why not make them all perl independent ? This shouldn't be too hard to do. All you have to do is contact the developers for the 40,000+ different ports and ask them to please stop using perl. Once they all comply, the FreeBSD port maintainers can eliminate perl. (Course I'll be pissed, because I use perl a lot.) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, Jan 25, 2005 at 09:26:07AM +0100, Gert Cuykens wrote: > On Mon, 24 Jan 2005 21:53:01 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > On Tue, Jan 25, 2005 at 03:30:05PM +1000, Warren wrote: > > > On Tue, 25 Jan 2005 03:28 pm, Gert Cuykens wrote: > > > > does cvsup need perl ? > > > > > > Yes > > > > Only to compile it from ports, not to run the resulting package. > > > > Kris > > > > this is what i dont understand only need perl to compile it ? > > so some pakeges need perl to compile and some dont ? why not make them > all perl independent ? It's not up to us - if the third-party software requires a port to build, that's what it needs. Kris pgpoQ3TwihEX9.pgp Description: PGP signature
Re: perl and ports
On Mon, 24 Jan 2005 21:53:01 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Tue, Jan 25, 2005 at 03:30:05PM +1000, Warren wrote: > > On Tue, 25 Jan 2005 03:28 pm, Gert Cuykens wrote: > > > does cvsup need perl ? > > > > Yes > > Only to compile it from ports, not to run the resulting package. > > Kris > this is what i dont understand only need perl to compile it ? so some pakeges need perl to compile and some dont ? why not make them all perl independent ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, Jan 25, 2005 at 03:30:05PM +1000, Warren wrote: > On Tue, 25 Jan 2005 03:28 pm, Gert Cuykens wrote: > > does cvsup need perl ? > > Yes Only to compile it from ports, not to run the resulting package. Kris pgpuTO1yuKsMX.pgp Description: PGP signature
Re: perl and ports
On Mon, Jan 24, 2005 at 11:15:12PM -0600, Donald J. O'Neill wrote: > > > And if you want to install packages using the ports tree. > > > > Eh? > > > > > depend on installing packages only, ok. Of course, you have to wait > > > for them to be built. > > > > > > I just ran pkg_info -R perl-5.8.5, too many to count by hand. > > > > Well, yeah, but that's because you installed perl 5.8.5 or something > > that depends on it. If you use 4.x most such ports will be happy > > with the base system version of perl, and if you don't use 4.x then > > ports that don't require perl won't install it. > > > > Yes, and that's my point Kris. Of the 537 ports that are installed on my > system, 318 of them require (have a dependency) perl-5.8.5 to run. What > about others that require it to build. So, if Gert, who is running > FSBD5.3 on an amd64 system and has been building ports and using > portupgrade, removes perl-5.8.5 (does a forced removal) because he > can't see that it's used all over the place and thinks of it as a > security issue because of earlier perl versions. He's going to have a > big problem on his hands the first time he tries to use portupgrade and > finds a lot of decencies missing in his package database, and running > pkgdb -F is going to fix them. The original question was whether perl is a required dependency to use the ports collection at all (no it isn't), not whether it is commonly used by applications in the ports collection. Thus, unless he is using a port that requires perl (the dependency will be registered, of course), it can be removed. Kris pgpAutL5k0STa.pgp Description: PGP signature
Re: perl and ports
On Tue, 25 Jan 2005 03:28 pm, Gert Cuykens wrote: > does cvsup need perl ? Yes -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
does cvsup need perl ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Monday 24 January 2005 10:23 pm, Gert Cuykens wrote: > On Mon, 24 Jan 2005 20:20:10 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > On Tue, Jan 25, 2005 at 05:12:12AM +0100, Gert Cuykens wrote: > > > So if i want to completly wipe out perl where in my freebsd 5.3 > > > ports tree do i do "make deinstall" ? > > > > Use pkg_info and pkg_delete to remove the installed packages. See > > the manpages. > > > > Kris > > ok thx :) Gert, If I were you, I wouldn't do that. If you already have, then we'll be hearing from you shortly. Don -- Donald J. O'Neill [EMAIL PROTECTED] I'm not totally useless, I can be used as a bad example. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Monday 24 January 2005 09:25 pm, Kris Kennaway wrote: > On Mon, Jan 24, 2005 at 09:20:16PM -0600, Donald J. O'Neill wrote: > > On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote: > > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote: > > > > Do we still need perl to make use of ports > > > > > > > > Just asking because it bugs me. I never use it and it just > > > > takes up space and it is a security risc :P I want it gone :) > > > > > > Only if you want to do certain things like 'make index', but not > > > for general use (this has been the case for years). > > > > > > Kris > > > > And if you want to install packages using the ports tree. > > Eh? > > > depend on installing packages only, ok. Of course, you have to wait > > for them to be built. > > > > I just ran pkg_info -R perl-5.8.5, too many to count by hand. > > Well, yeah, but that's because you installed perl 5.8.5 or something > that depends on it. If you use 4.x most such ports will be happy > with the base system version of perl, and if you don't use 4.x then > ports that don't require perl won't install it. > Yes, and that's my point Kris. Of the 537 ports that are installed on my system, 318 of them require (have a dependency) perl-5.8.5 to run. What about others that require it to build. So, if Gert, who is running FSBD5.3 on an amd64 system and has been building ports and using portupgrade, removes perl-5.8.5 (does a forced removal) because he can't see that it's used all over the place and thinks of it as a security issue because of earlier perl versions. He's going to have a big problem on his hands the first time he tries to use portupgrade and finds a lot of decencies missing in his package database, and running pkgdb -F is going to fix them. I seem to also remember, at one time, having to do 'pkg_add -r cvsup' and perl-5.8.5 was installed with it. > Kris It seems to me that the perl-5.8.5 is installed when FreeBSD 5.3 installed. From ports/UPDATING 20040204: AFFECTS: 5.2-CURRENT20040204: AFFECTS: 5.2-CURRENT users who started with a 5.2-RELEASE or older. AUTHOR: [EMAIL PROTECTED] Change the default version of perl to 5.8. users who started with a 5.2-RELEASE or older. AUTHOR: [EMAIL PROTECTED] Change the default version of perl to 5.8. 20040730: AFFECTS: users of lang/perl5.8 AUTHOR: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] lang/perl5.8 has been updated to 5.8.5. you should update everything depending on perl, that is: * first, upgrade your perl5.8 installation. * run "use.perl port", so that the system knows you have 5.8.5. * now, run some magic incantations to upgrade all ports depending on perl, that is run something like : portupgrade -f `(pkg_info -R perl-5.8.5 |tail +4; \ find /usr/local/lib/perl5/site_perl/5.8.[124] -type f -print0 \ | xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u` This is likely to fail for a few ports, you'll have to upgrade them afterwards. Please note, that this last step is, strictly speaking, not necessary, if you are upgrading from 5.8.4. But it is cleaner to do so anyway. It seems to me, removing perl, is not a good idea. -- Donald J. O'Neill [EMAIL PROTECTED] I'm not totally useless, I can be used as a bad example. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Mon, 24 Jan 2005 20:20:10 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Tue, Jan 25, 2005 at 05:12:12AM +0100, Gert Cuykens wrote: > > > So if i want to completly wipe out perl where in my freebsd 5.3 ports > > tree do i do "make deinstall" ? > > Use pkg_info and pkg_delete to remove the installed packages. See the > manpages. > > Kris > ok thx :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, Jan 25, 2005 at 05:12:12AM +0100, Gert Cuykens wrote: > So if i want to completly wipe out perl where in my freebsd 5.3 ports > tree do i do "make deinstall" ? Use pkg_info and pkg_delete to remove the installed packages. See the manpages. Kris pgpzrqfa4Va8E.pgp Description: PGP signature
Re: perl and ports
On Mon, 24 Jan 2005 19:53:20 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Tue, Jan 25, 2005 at 04:47:41AM +0100, Gert Cuykens wrote: > > On Mon, 24 Jan 2005 19:25:10 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > > On Mon, Jan 24, 2005 at 09:20:16PM -0600, Donald J. O'Neill wrote: > > > > On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote: > > > > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote: > > > > > > Do we still need perl to make use of ports > > > > > > > > > > > > Just asking because it bugs me. I never use it and it just takes up > > > > > > space and it is a security risc :P I want it gone :) > > > > > > > > > > Only if you want to do certain things like 'make index', but not for > > > > > general use (this has been the case for years). > > > > > > > > > > Kris > > > > > > > > And if you want to install packages using the ports tree. > > > > > > Eh? > > > > > > > depend on installing packages only, ok. Of course, you have to wait for > > > > them to be built. > > > > > > > > I just ran pkg_info -R perl-5.8.5, too many to count by hand. > > > > > > Well, yeah, but that's because you installed perl 5.8.5 or something > > > that depends on it. If you use 4.x most such ports will be happy with > > > the base system version of perl, and if you don't use 4.x then ports > > > that don't require perl won't install it. > > > > > > Kris > > > > > > > me getting confused :) > > > > Are there 2 perl thingies ? a base and a other one ? I would like to > > have no perl at all and be abel to do make install in the ports tree ? > > Only in FreeBSD 4.x and older. > > Kris > So if i want to completly wipe out perl where in my freebsd 5.3 ports tree do i do "make deinstall" ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, Jan 25, 2005 at 04:47:41AM +0100, Gert Cuykens wrote: > On Mon, 24 Jan 2005 19:25:10 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > On Mon, Jan 24, 2005 at 09:20:16PM -0600, Donald J. O'Neill wrote: > > > On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote: > > > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote: > > > > > Do we still need perl to make use of ports > > > > > > > > > > Just asking because it bugs me. I never use it and it just takes up > > > > > space and it is a security risc :P I want it gone :) > > > > > > > > Only if you want to do certain things like 'make index', but not for > > > > general use (this has been the case for years). > > > > > > > > Kris > > > > > > And if you want to install packages using the ports tree. > > > > Eh? > > > > > depend on installing packages only, ok. Of course, you have to wait for > > > them to be built. > > > > > > I just ran pkg_info -R perl-5.8.5, too many to count by hand. > > > > Well, yeah, but that's because you installed perl 5.8.5 or something > > that depends on it. If you use 4.x most such ports will be happy with > > the base system version of perl, and if you don't use 4.x then ports > > that don't require perl won't install it. > > > > Kris > > > > me getting confused :) > > Are there 2 perl thingies ? a base and a other one ? I would like to > have no perl at all and be abel to do make install in the ports tree ? Only in FreeBSD 4.x and older. Kris pgpmxYsp5TD7i.pgp Description: PGP signature
Re: perl and ports
On Mon, 24 Jan 2005 19:25:10 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Mon, Jan 24, 2005 at 09:20:16PM -0600, Donald J. O'Neill wrote: > > On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote: > > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote: > > > > Do we still need perl to make use of ports > > > > > > > > Just asking because it bugs me. I never use it and it just takes up > > > > space and it is a security risc :P I want it gone :) > > > > > > Only if you want to do certain things like 'make index', but not for > > > general use (this has been the case for years). > > > > > > Kris > > > > And if you want to install packages using the ports tree. > > Eh? > > > depend on installing packages only, ok. Of course, you have to wait for > > them to be built. > > > > I just ran pkg_info -R perl-5.8.5, too many to count by hand. > > Well, yeah, but that's because you installed perl 5.8.5 or something > that depends on it. If you use 4.x most such ports will be happy with > the base system version of perl, and if you don't use 4.x then ports > that don't require perl won't install it. > > Kris > me getting confused :) Are there 2 perl thingies ? a base and a other one ? I would like to have no perl at all and be abel to do make install in the ports tree ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Mon, Jan 24, 2005 at 09:20:16PM -0600, Donald J. O'Neill wrote: > On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote: > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote: > > > Do we still need perl to make use of ports > > > > > > Just asking because it bugs me. I never use it and it just takes up > > > space and it is a security risc :P I want it gone :) > > > > Only if you want to do certain things like 'make index', but not for > > general use (this has been the case for years). > > > > Kris > > And if you want to install packages using the ports tree. Eh? > depend on installing packages only, ok. Of course, you have to wait for > them to be built. > > I just ran pkg_info -R perl-5.8.5, too many to count by hand. Well, yeah, but that's because you installed perl 5.8.5 or something that depends on it. If you use 4.x most such ports will be happy with the base system version of perl, and if you don't use 4.x then ports that don't require perl won't install it. Kris pgpBfjmFVqPeG.pgp Description: PGP signature
Re: perl and ports
On Monday 24 January 2005 06:54 pm, Kris Kennaway wrote: > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote: > > Do we still need perl to make use of ports > > > > Just asking because it bugs me. I never use it and it just takes up > > space and it is a security risc :P I want it gone :) > > Only if you want to do certain things like 'make index', but not for > general use (this has been the case for years). > > Kris And if you want to install packages using the ports tree. If you want to depend on installing packages only, ok. Of course, you have to wait for them to be built. I just ran pkg_info -R perl-5.8.5, too many to count by hand. Don -- Donald J. O'Neill [EMAIL PROTECTED] I'm not totally useless, I can be used as a bad example. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Mon, 24 Jan 2005 17:22:57 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Tue, Jan 25, 2005 at 02:02:13AM +0100, Gert Cuykens wrote: > > On Mon, 24 Jan 2005 16:54:50 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote: > > > > Do we still need perl to make use of ports > > > > > > > > Just asking because it bugs me. I never use it and it just takes up > > > > space and it is a security risc :P I want it gone :) > > > > > > Only if you want to do certain things like 'make index', but not for > > > general use (this has been the case for years). > > > > So i can go in the port directory of perl and do make deinstall and > > freebsd still works right, no kernel panic or something :) > > Yes. > > Kris > lol i dont believe it, sounds way to easy :P Thx :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, Jan 25, 2005 at 02:02:13AM +0100, Gert Cuykens wrote: > On Mon, 24 Jan 2005 16:54:50 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote: > > > Do we still need perl to make use of ports > > > > > > Just asking because it bugs me. I never use it and it just takes up > > > space and it is a security risc :P I want it gone :) > > > > Only if you want to do certain things like 'make index', but not for > > general use (this has been the case for years). > > So i can go in the port directory of perl and do make deinstall and > freebsd still works right, no kernel panic or something :) Yes. Kris pgpbTYPdswi4Y.pgp Description: PGP signature
Re: perl and ports
On Mon, 24 Jan 2005 16:54:50 -0800, Kris Kennaway <[EMAIL PROTECTED]> wrote: > On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote: > > Do we still need perl to make use of ports > > > > Just asking because it bugs me. I never use it and it just takes up > > space and it is a security risc :P I want it gone :) > > Only if you want to do certain things like 'make index', but not for > general use (this has been the case for years). So i can go in the port directory of perl and do make deinstall and freebsd still works right, no kernel panic or something :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl and ports
On Tue, Jan 25, 2005 at 01:42:24AM +0100, Gert Cuykens wrote: > Do we still need perl to make use of ports > > Just asking because it bugs me. I never use it and it just takes up > space and it is a security risc :P I want it gone :) Only if you want to do certain things like 'make index', but not for general use (this has been the case for years). Kris pgpMjAYwqCThz.pgp Description: PGP signature
Re: perl and ports
make and make install clean should do a good thing too, if the sourcecode itself isnt perl, nor any part of it, you should get the results wanted with these commands. please correct me, if im not right, but the Makefile is not pl, right? Greetings Oliver Leitner Technical Staff http://www.shells.at On Tuesday 25 January 2005 01:42, Gert Cuykens wrote: > Do we still need perl to make use of ports > > Just asking because it bugs me. I never use it and it just takes up > space and it is a security risc :P I want it gone :) > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
perl and ports
Do we still need perl to make use of ports Just asking because it bugs me. I never use it and it just takes up space and it is a security risc :P I want it gone :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl -MCPAN -e shell question - need a howto
On Fri, 14 Jan 2005 06:55:19 -0900, Andy Firman <[EMAIL PROTECTED]> wrote: > I don't see the perl module for Text::Aspell in the ports, by doing > all sorts of permutations of this: > cd /usr/ports && make search name=p5 |grep Aspell Ah, sorry, didn't see that in your posts about this. > So, once again, sorry if this is really basic stuff, but how to I get > Text::Aspell - Perl interface to the Aspell library installed? This seems a good CPAN reference, including info on how to debug test failures: http://sial.org/howto/perl/life-with-cpan/ (first Google result on "perl cpan shell test fail") Bryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl -MCPAN -e shell question - need a howto (DONE)
On Fri, Jan 14, 2005 at 06:55:19AM -0900, Andy Firman wrote: > On Fri, Jan 14, 2005 at 10:29:05AM -0500, Bryan Fullerton wrote: > > On Fri, 14 Jan 2005 06:20:49 -0900, Andy Firman <[EMAIL PROTECTED]> wrote: > > > On Fri, Jan 14, 2005 at 03:08:23PM +, Gary Hayers wrote: > > [snip] > > I don't see the perl module for Text::Aspell in the ports, by doing > all sorts of permutations of this: > cd /usr/ports && make search name=p5 |grep Aspell > > So, once again, sorry if this is really basic stuff, but how to I get > Text::Aspell - Perl interface to the Aspell library installed? There is no port for Text::Aspell, so I had to install from source. Text::Aspell depends on XML::DOM and CGI, which I installed from the ports system. (p5-XML-DOM-1.43, p5-CGI.pm-3.05) The "make test" keeps failing for the source install of Text::Aspell, but I did "make install" anyway, and all seems to be working now. Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl -MCPAN -e shell question - need a howto
On Fri, Jan 14, 2005 at 10:29:05AM -0500, Bryan Fullerton wrote: > On Fri, 14 Jan 2005 06:20:49 -0900, Andy Firman <[EMAIL PROTECTED]> wrote: > > On Fri, Jan 14, 2005 at 03:08:23PM +, Gary Hayers wrote: > [snip] > > > If you have the Ports tree installed you can install it from the ports > > > tree > > > > > > # cd /usr/ports/textproc/p5-XML-DOM && make install clean > > > > Understood. But I am having a hard time figuring out how Perl modules > > "should" get installed on a system. > > The generally preferred way on a FreeBSD system is to use the FreeBSD > ports as noted above. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Yeah...I understand that, I read the whole manual, and I read the whole book, The Complete FreeBSD. Sorry if I am missing something really basic. I don't see the perl module for Text::Aspell in the ports, by doing all sorts of permutations of this: cd /usr/ports && make search name=p5 |grep Aspell So, once again, sorry if this is really basic stuff, but how to I get Text::Aspell - Perl interface to the Aspell library installed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl -MCPAN -e shell question - need a howto
On Fri, 14 Jan 2005 06:20:49 -0900, Andy Firman <[EMAIL PROTECTED]> wrote: > On Fri, Jan 14, 2005 at 03:08:23PM +, Gary Hayers wrote: [snip] > > If you have the Ports tree installed you can install it from the ports tree > > > > # cd /usr/ports/textproc/p5-XML-DOM && make install clean > > Understood. But I am having a hard time figuring out how Perl modules > "should" get installed on a system. The generally preferred way on a FreeBSD system is to use the FreeBSD ports as noted above. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Bryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl -MCPAN -e shell question - need a howto
On Fri, Jan 14, 2005 at 03:08:23PM +, Gary Hayers wrote: > Andy Firman wrote: > >Using FreeBSD 4.10 stable, perl-5.8.5 installed from ports. > > > >su-2.05b# perl -v > >This is perl, v5.8.5 built for i386-freebsd-64int > > > >When using perl -MCPAN -e shell, I can install the bundle fine, > >but the when I try to install XML::DOM, or Text::Aspell, they fail. > > > >Where can I go for help on getting the bsdpan ports installed? > >Or is there a howto on this stuff because I am clueless? > > > >Thanks, > >Andy > > If you have the Ports tree installed you can install it from the ports tree > > # cd /usr/ports/textproc/p5-XML-DOM && make install clean Understood. But I am having a hard time figuring out how Perl modules "should" get installed on a system. One can use perl -MCPAN -e shell to install modules right? One can install from source in /usr/local/src right? One can install perl p5-Bla-Bla-1.03 from the ports right? Which is the right way? I have learned in the past it is very good practice to stick with the system package management system if at all possible. It will save you in the future big time with dependancey problems. Hence my hesitation with moving forward by throwing anything at the problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl -MCPAN -e shell question - need a howto
Andy Firman wrote: Using FreeBSD 4.10 stable, perl-5.8.5 installed from ports. su-2.05b# perl -v This is perl, v5.8.5 built for i386-freebsd-64int When using perl -MCPAN -e shell, I can install the bundle fine, but the when I try to install XML::DOM, or Text::Aspell, they fail. Where can I go for help on getting the bsdpan ports installed? Or is there a howto on this stuff because I am clueless? Thanks, Andy If you have the Ports tree installed you can install it from the ports tree # cd /usr/ports/textproc/p5-XML-DOM && make install clean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl -MCPAN -e shell question - need a howto
On Fri, Jan 14, 2005 at 09:42:06AM -0500, Bryan Fullerton wrote: > On Fri, 14 Jan 2005 04:34:33 -0900, Andy Firman <[EMAIL PROTECTED]> wrote: > > > > Using FreeBSD 4.10 stable, perl-5.8.5 installed from ports. > > > > su-2.05b# perl -v > > This is perl, v5.8.5 built for i386-freebsd-64int > > > > When using perl -MCPAN -e shell, I can install the bundle fine, > > but the when I try to install XML::DOM, or Text::Aspell, they fail. > > What are the errors when they fail? Trying to install the XML::DOM I get this: cpan> install XML::DOM Manifying blib/man3/XML::DOM::Parser.3 Manifying blib/man3/XML::DOM::Comment.3 Manifying blib/man3/XML::DOM::Element.3 Manifying blib/man3/XML::DOM::XMLDecl.3 Manifying blib/man3/XML::DOM::CDATASection.3 Manifying blib/man3/XML::DOM::Node.3 Manifying blib/man3/XML::DOM::ElementDecl.3 Manifying blib/man3/XML::DOM::DOMImplementation.3 Manifying blib/man3/XML::DOM::EntityReference.3 Manifying blib/man3/XML::DOM::AttDef.3 Manifying blib/man3/XML::DOM::Text.3 Manifying blib/man3/XML::DOM::NodeList.3 Manifying blib/man3/XML::DOM::CharacterData.3 /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.5 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/build_dom...ok t/dom_astress.ok t/dom_attrok t/dom_cdata...ok t/dom_documenttypeok t/dom_encode..ok t/dom_example.ok t/dom_extent..ok t/dom_jp_astress..ok t/dom_jp_attr.FAILED tests 3, 9, 12, 14, 19, 22 Failed 6/23 tests, 73.91% okay t/dom_jp_cdataFAILED test 3 Failed 1/3 tests, 66.67% okay t/dom_jp_example..ok t/dom_jp_minusFAILED test 2 Failed 1/2 tests, 50.00% okay t/dom_jp_modify...FAILED test 16 Failed 1/16 tests, 93.75% okay t/dom_jp_printFAILED tests 2-3 Failed 2/3 tests, 33.33% okay t/dom_minus...ok t/dom_modify..ok t/dom_noexpandok t/dom_print...ok t/dom_templateok t/dom_textok Failed Test Stat Wstat Total Fail Failed List of Failed --- t/dom_jp_attr.t 236 26.09% 3 9 12 14 19 22 t/dom_jp_cdata.t 31 33.33% 3 t/dom_jp_minus.t 21 50.00% 2 t/dom_jp_modify.t 161 6.25% 16 t/dom_jp_print.t 32 66.67% 2-3 Failed 5/21 test scripts, 76.19% okay. 11/129 subtests failed, 91.47% okay. *** Error code 2 Stop in /root/.cpan/build/XML-DOM-1.43. /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force # Then with installing Text::Aspell I get this: cpan> install Text::Aspell CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Thu, 13 Jan 2005 09:50:06 GMT Running install for module Text::Aspell Running make for H/HA/HANK/Text-Aspell-0.04.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/H/HA/HANK/Text-Aspell-0.04.tar.gz ok Scanning cache /root/.cpan/build for sizes Text-Aspell-0.04/ Text-Aspell-0.04/t/ Text-Aspell-0.04/t/test.t Text-Aspell-0.04/MANIFEST Text-Aspell-0.04/typemap Text-Aspell-0.04/Aspell.xs Text-Aspell-0.04/META.yml Text-Aspell-0.04/Aspell.pm Text-Aspell-0.04/Changes Text-Aspell-0.04/Makefile.PL Text-Aspell-0.04/README Removing previously used /root/.cpan/build/Text-Aspell-0.04 CPAN.pm: Going to build H/HA/HANK/Text-Aspell-0.04.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Text::Aspell cp Aspell.pm blib/lib/Text/Aspell.pm /usr/local/bin/perl5.8.5 /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -noprototypes -typemap /usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap Aspell.xs > Aspell.xsc && mv Aspell.xsc Aspell.c cc -c-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe-DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.5/mach/CORE" Aspell.c Aspell.c: In function `XS_Text__Aspell_DESTROY': Aspell.c:98: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_create_speller': Aspell.c:125: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_print_config': Aspell.c:158: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_set_option': Aspell.c:194: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_remove_option': Aspe
Re: perl -MCPAN -e shell question - need a howto
On Fri, 14 Jan 2005 04:34:33 -0900, Andy Firman <[EMAIL PROTECTED]> wrote: > > Using FreeBSD 4.10 stable, perl-5.8.5 installed from ports. > > su-2.05b# perl -v > This is perl, v5.8.5 built for i386-freebsd-64int > > When using perl -MCPAN -e shell, I can install the bundle fine, > but the when I try to install XML::DOM, or Text::Aspell, they fail. What are the errors when they fail? Bryan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
perl -MCPAN -e shell question - need a howto
Using FreeBSD 4.10 stable, perl-5.8.5 installed from ports. su-2.05b# perl -v This is perl, v5.8.5 built for i386-freebsd-64int When using perl -MCPAN -e shell, I can install the bundle fine, but the when I try to install XML::DOM, or Text::Aspell, they fail. Where can I go for help on getting the bsdpan ports installed? Or is there a howto on this stuff because I am clueless? Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
perl bsdpan install Text::Aspell problem
I am using FreeBSD 4.10 stable with the perl 5.8 port and can't install Text:Aspell. I need some help because I don't know much about bsdpan perl stuff. What am I doing wrong? I did this: perl -MCPAN -e shell install Bundle::CPAN with no problems.but then I did this: cpan> install Text::Aspell CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Mon, 10 Jan 2005 08:53:12 GMT Running install for module Text::Aspell Running make for H/HA/HANK/Text-Aspell-0.04.tar.gz LWP not available CPAN: Net::FTP loaded ok Fetching with Net::FTP: ftp://archive.progeny.com/CPAN/authors/id/H/HA/HANK/Text-Aspell-0.04.tar.gz CPAN: Digest::MD5 loaded ok LWP not available Fetching with Net::FTP: ftp://archive.progeny.com/CPAN/authors/id/H/HA/HANK/CHECKSUMS CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/H/HA/HANK/Text-Aspell-0.04.tar.gz ok Scanning cache /root/.cpan/build for sizes Text-Aspell-0.04/ Text-Aspell-0.04/t/ Text-Aspell-0.04/t/test.t Text-Aspell-0.04/MANIFEST Text-Aspell-0.04/typemap Text-Aspell-0.04/Aspell.xs Text-Aspell-0.04/META.yml Text-Aspell-0.04/Aspell.pm Text-Aspell-0.04/Changes Text-Aspell-0.04/Makefile.PL Text-Aspell-0.04/README CPAN.pm: Going to build H/HA/HANK/Text-Aspell-0.04.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Text::Aspell cp Aspell.pm blib/lib/Text/Aspell.pm /usr/local/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -noprototypes -typemap /usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap Aspell.xs > Aspell.xsc && mv Aspell.xsc Aspell.c cc -c-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.5/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe-DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.5/mach/CORE" Aspell.c Aspell.c: In function `XS_Text__Aspell_DESTROY': Aspell.c:98: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_create_speller': Aspell.c:125: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_print_config': Aspell.c:158: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_set_option': Aspell.c:194: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_remove_option': Aspell.c:230: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_get_option': Aspell.c:266: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_get_option_as_list': Aspell.c:309: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_errstr': Aspell.c:353: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_errnum': Aspell.c:378: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_check': Aspell.c:404: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_suggest': Aspell.c:448: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_add_to_personal': Aspell.c:497: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_add_to_session': Aspell.c:536: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_store_replacement': Aspell.c:576: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_save_all_word_lists': Aspell.c:614: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_clear_session': Aspell.c:652: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_list_dictionaries': Aspell.c:696: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_dictionary_info': Aspell.c:753: warning: cast to pointer from integer of different size Aspell.c: In function `XS_Text__Aspell_fetch_option_keys': Aspell.c:813: warning: cast to pointer from integer of different size Running Mkbootstrap for Text::Aspell () chmod 644 Aspell.bs rm -f blib/arch/auto/Text/Aspell/Aspell.so LD_RUN_PATH="/usr/local/lib" cc -shared -L/usr/local/lib Aspell.o -o blib/arch/auto/Text/Aspell/Aspell.so -laspell chmod 755 blib/arch/auto/Text/Aspell/Aspell.so cp Aspell.bs blib/arch/auto/Text/Aspell/Aspell.bs chmod 644 blib/arch/auto/Text/Aspell/Aspell.bs Manifying blib/man3/Text::Aspell.3 /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "
Re: installing a linux rpm, wants perl
From: Kent Stewart <[EMAIL PROTECTED]> To: freebsd-questions@freebsd.org CC: "Karl Agee" <[EMAIL PROTECTED]> Subject: Re: installing a linux rpm, wants perl Date: Mon, 3 Jan 2005 22:41:38 -0800 On Monday 03 January 2005 09:24 pm, Karl Agee wrote: > freebsd 4.11-pre with linux compatibility. > > I'm trying to install a linux rpm but I am getting the following > errer: > > -su-2.05b# rpm -i --ignoreos --root /compat/linux --dbpath > /var/lib/rpm package.i386.rpm > error: failed dependencies: > /usr/bin/perl is needed by package > > -su-2.05b# whereis perl > perl: /usr/bin/perl /usr/share/man/man1/perl.1.gz > /usr/src/gnu/usr.bin/perl > > So I am guessing that compat/linux ought to have perl in /usr/bin. I > tried making a soft link but that didnt work. > > I havent found a port for perl in linux, any ideas how to resolve > this? > Did you upgrade perl and forget to do the "use.perl port". There are links that the script creates and when you create a new bin/perl, they have to be restablished. Kent Kent: No, I havent upgraded perl. --Karl _ Express yourself instantly with MSN Messenger! Download today - it's FREE! hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: installing a linux rpm, wants perl
On Monday 03 January 2005 09:24 pm, Karl Agee wrote: > freebsd 4.11-pre with linux compatibility. > > I'm trying to install a linux rpm but I am getting the following > errer: > > -su-2.05b# rpm -i --ignoreos --root /compat/linux --dbpath > /var/lib/rpm package.i386.rpm > error: failed dependencies: > /usr/bin/perl is needed by package > > -su-2.05b# whereis perl > perl: /usr/bin/perl /usr/share/man/man1/perl.1.gz > /usr/src/gnu/usr.bin/perl > > So I am guessing that compat/linux ought to have perl in /usr/bin. I > tried making a soft link but that didnt work. > > I havent found a port for perl in linux, any ideas how to resolve > this? > Did you upgrade perl and forget to do the "use.perl port". There are links that the script creates and when you create a new bin/perl, they have to be restablished. Kent > --Karl > > _ > On the road to retirement? Check out MSN Life Events for advice on > how to get there! > http://lifeevents.msn.com/category.aspx?cid=Retirement > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: installing a linux rpm, wants perl
On 01/04/05 00:24:38, Karl Agee wrote: freebsd 4.11-pre with linux compatibility. I'm trying to install a linux rpm but I am getting the following errer: -su-2.05b# rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/ rpm package.i386.rpm error: failed dependencies: /usr/bin/perl is needed by package -su-2.05b# whereis perl perl: /usr/bin/perl /usr/share/man/man1/perl.1.gz /usr/src/gnu/ usr.bin/perl So I am guessing that compat/linux ought to have perl in /usr/bin. I tried making a soft link but that didnt work. I havent found a port for perl in linux, any ideas how to resolve this? --Karl Do you have the linux emulator installed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
installing a linux rpm, wants perl
freebsd 4.11-pre with linux compatibility. I'm trying to install a linux rpm but I am getting the following errer: -su-2.05b# rpm -i --ignoreos --root /compat/linux --dbpath /var/lib/rpm package.i386.rpm error: failed dependencies: /usr/bin/perl is needed by package -su-2.05b# whereis perl perl: /usr/bin/perl /usr/share/man/man1/perl.1.gz /usr/src/gnu/usr.bin/perl So I am guessing that compat/linux ought to have perl in /usr/bin. I tried making a soft link but that didnt work. I havent found a port for perl in linux, any ideas how to resolve this? --Karl _ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl
On Fri, Dec 31, 2004 at 12:46:09PM +0100, Erik Norgaard wrote: > I haven't found big differences between 5.6 and 5.8, so I'd suggest you > use 5.8. The main reason to stick with an older version is that you > might develop scripts for platforms where the newer are not available. I've noticed some memory allocation bugs with 5.6, so I'd just go straight for 5.8. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ pgpUQ7dHbn1YP.pgp Description: PGP signature
Re: upgrading perl
--On Thursday, December 30, 2004 7:54 PM -0800 Karl Agee <[EMAIL PROTECTED]> wrote: Freebsd 4.11-pre. I am working on learning perl, and have perl 5.00x that is in the base system when I installed 4.10-Release. Since most of the learning materials out there are based on later verisions esp since 5.6.x some of the features arent in this older version. I am considering upgrading to 5.8.5 via ports, but, dont know if that will break anything. Just being cautious... It's good to be cautious. :-) If you want to switch to the ports version of perl, then after you run make install clean in the port, you will need to do the following: Type "use.perl ports" at the commandline. This will switch perl from the system version to the ports version. Until you do this, your system will still be using the system version. Furthermore, you can always revert back to the system version by typing "use.perl system" at the commandline. After you do that, you will need to run "make reinstall" in any port that you've installed that uses perl. You can also install all the CPAN modules using the base system, so there's no need to upgrade to the ports version unless you just want to. (I chose to do that on a server I maintain, but it worked fine using the system perl.) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl
Karl Agee wrote: Freebsd 4.11-pre. I am working on learning perl, and have perl 5.00x that is in the base system when I installed 4.10-Release. Since most of the learning materials out there are based on later verisions esp since 5.6.x some of the features arent in this older version. I am considering upgrading to 5.8.5 via ports, but, dont know if that will break anything. It won't break anything. You can have the base install, 5.6.x and 5.8.x installed from ports simultaneously. After installing perl from ports you run /usr/local/bin/use.perl port This will create links to the port install, eg. /usr/bin/perl -> /usr/bin/perl5.8.5 And you can go back with /usr/local/bin/use.perl system Which will then replace the link with, eg. /usr/bin/perl -> /usr/bin/perl5 These are the limitations: use.perl can only switch between one installed port-version and the system perl. So if you want to use another port-version (ie. for some reason you want both 5.6.x and 5.8.x) you will have to do the linking manually. When you install perl-packages they will be installed into the package path of the currently selected perl. So if you use 5.8.5 and install say p5-DBI then this won't be available for the system perl. However, perl looks backward, so 5.8.5 sees packages installed for the system perl. I haven't found big differences between 5.6 and 5.8, so I'd suggest you use 5.8. The main reason to stick with an older version is that you might develop scripts for platforms where the newer are not available. Note: If/when you upgrade to 5.x there is no system perl, this is partly to avoid the mess with multiple versions of perl. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl
Karl Agee wrote: Freebsd 4.11-pre. I am working on learning perl, and have perl 5.00x that is in the base system when I installed 4.10-Release. Since most of the learning materials out there are based on later verisions esp since 5.6.x some of the features arent in this older version. I am considering upgrading to 5.8.5 via ports, but, dont know if that will break anything. Just being cautious... --Karl Hello Karl Unless it's relatively easy to upgrade perl on 4.x I wouldn't bother with it. most everything in perl 5.6 (and 5.8) work in 5. If you want to learn about perl this resource should be very helpful: http://www.ebb.org/PickingUpPerl/ Remember to buy them!, Nikolas http://www.hn.edu.cn/book/Perl/Perl.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrading perl
Karl Agee wrote: Freebsd 4.11-pre. I am working on learning perl, and have perl 5.00x that is in the base system when I installed 4.10-Release. Since most of the learning materials out there are based on later verisions esp since 5.6.x some of the features arent in this older version. I am considering upgrading to 5.8.5 via ports, but, dont know if that will break anything. Just being cautious... --Karl The biggest thing you have to watch out for is to upgrade the modules with the distribution. Look in /usr/ports/UPDATING and search for Perl for more info. -- -- Skylar Thompson ([EMAIL PROTECTED]) -- http://www.cs.earlham.edu/~skylar/ signature.asc Description: OpenPGP digital signature
upgrading perl
Freebsd 4.11-pre. I am working on learning perl, and have perl 5.00x that is in the base system when I installed 4.10-Release. Since most of the learning materials out there are based on later verisions esp since 5.6.x some of the features arent in this older version. I am considering upgrading to 5.8.5 via ports, but, dont know if that will break anything. Just being cautious... --Karl _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Wierdness with different programs, and installs of perl* that requires compiling with cc...
On Wed, Dec 29, 2004 at 01:45:32PM +0300, Martes Wigglesworth wrote: > Greetings list. > > All of a sudden, I am experiencing wierd functionality with my > 5.2.1-Release installation. My perl compiles don't succeed, due to the > following error. nsl is on Solaris, and I have never had an issue prior > to a few days ago. I was planning to reinstall, after backing up my > data, and I just decided to try this list, in case others have had > similar problems. Look for headers and libraries that were added in that timeframe. Perhaps the perl configure script is noticing something that was added to /usr/local and assuming that makes you a solaris machine. Kris pgpAJ7uzkE3oa.pgp Description: PGP signature
Wierdness with different programs, and installs of perl* that requires compiling with cc...
Greetings list. All of a sudden, I am experiencing wierd functionality with my 5.2.1-Release installation. My perl compiles don't succeed, due to the following error. nsl is on Solaris, and I have never had an issue prior to a few days ago. I was planning to reinstall, after backing up my data, and I just decided to try this list, in case others have had similar problems. Error: > cd /usr/ports/lang/perl5 > sudo make install ===> Configuring for perl-5.6.1_15 First let's make sure your kit is complete. Checking... Would you like to see the instructions? [n] Locating common programs... Checking compatibility between /bin/echo and builtin echo (if any)... Symbolic links are supported. Checking how to test for symbolic links... You can test for symbolic links with 'test -h'. Good, your tr supports [:lower:] and [:upper:] to convert case. Using [:upper:] and [:lower:] to convert case. 3b1 dynix isc nonstopux stellar aix dynixptxisc_2 openbsd sunos_4_0 altos486epixlinux opus sunos_4_1 amigaos esix4 lynxos os2 svr4 apollo fps machten os390 svr5 aux_3 freebsd machten_2 posix-bcti1500 beosgenix mintpowerux titanos bsdos gnu mipsqnx ultrix_4 convexosgreenhills mpc rhapsodyumips cxuxhpuxmpeix sco unicos cygwin i386ncr_tower sco_2_3_0 unicosmk darwin irix_4 netbsd sco_2_3_1 unisysdynix dcosx irix_5 newsos4 sco_2_3_2 utekv dec_osf irix_6 next_3 sco_2_3_3 uts dguxirix_6_0next_3_0sco_2_3_4 uwin dos_djgpp irix_6_1next_4 solaris_2 vmesa Which of these apply, if any? [freebsd] Some users have reported that Configure halts when testing for the O_NONBLOCK symbol with a syntax error. This is apparently a sh error. Rerunning Configure with ksh apparently fixes the problem. Try ksh Configure [your options] Operating system name? [freebsd] Operating system version? [5.2.1-release] Build a threading Perl? [n] Build Perl for multiplicity? [n] Use which C compiler? [cc] Checking for GNU cc in disguise and/or its version number... Now, how can we feed standard input to your C preprocessor... Directories to use for library searches? [/usr/lib /usr/local/lib] What is the file extension used for shared libraries? [so] Build Perl for SOCKS? [n] Checking for optional libraries... What libraries to use? [-lnsl -lgdbm -ldl -lm -lc -lcrypt -lutil] What optimizer/debugger flag should be used? [-O -pipe -mcpu=pentiumpro] Any additional cc flags? [-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include] Let me guess what the preprocessor flags are... Any additional ld flags (NOT including libraries)? [-Wl,-E -L/usr/local/lib] Checking your choice of C compiler and flags for coherency... I've tried to compile and run the following simple program: #include int main() { printf("Ok\n"); exit(0); } I used the command: cc -o try -O -pipe -mcpu=pentiumpro -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -fno-strict-aliasing -I/usr/local/include -Wl,-E -L/usr/local/lib try.c -lnsl -lgdbm -ldl -lm -lc -lcrypt -lutil ./try and I got the following output: /usr/bin/ld: cannot find -lnsl I can't compile the test program. You have a BIG problem. Shall I abort Configure [y] Ok. Stopping Configure. ===> Script "Configure" failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the "/usr/ports/lang/perl5/work/perl-5.6.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/lang/perl5. I have also noticed that my installs of mplayer, current and pre5 all crash when I try do anything on the X desktop with opening/refreshing a minimized windows. It says something about bad CPU/RAM/FPU usage. I know this is not an mplayer forum, however, I have noticed that crash at the same time that I noticed that I was unable to compile perl, due to the lack of -lnsl not being found. I know that nsl is for Solaris, however my problem is that I don't have significant enough knowledge yet, to begin playing around with such "search" settings, so I know that I have not changed the option, which is the most obvious solution. Any help would be much appreciated. -- Respectf
Re: FreeBSD Jails & Perl: Reading /proc ...
On Friday 24 December 2004 08:17, Marc G. Fournier wrote: > I'm trying to read /proc/*/status, specifically to find what processes > belong to what jail ... but, doing 'direct views' on it tends to generate > errors since processes "come-n-go" ... I had the same problem when I was writing JailAdmin (sysutils/jailadmin), and eventually solved it by using jexec to execute ps from within a jail. This is actually a lot faster than opening and reading a lot of files from within /proc, *and* allows you to run a system without a mounted proc filesystem should you want to do so. -- Kirk Strauser pgp688Yau53VT.pgp Description: PGP signature
FreeBSD Jails & Perl: Reading /proc ...
I'm trying to read /proc/*/status, specifically to find what processes belong to what jail ... but, doing 'direct views' on it tends to generate errors since processes "come-n-go" ... So, I loaded p5-Proc-ProcessTable, since it looked the closest to what I'm looking for, but it doesn't report 'hostname': uid: 80 gid: 80 pid: 21271 ppid: 21267 pgrp: 21267 sess: 21267 flags: noflags utime: 73.00 stime: 331.00 time: 404.00 wchan: lockf start: 1101753695.00 euid: 80 egid: 80 fname: httpd state: lockf ttydev: ttynum: -1 cmndline: /usr/local/sbin/httpd priority: 0 Not sure how hard it would be to add this to Proc::ProcessTable ... but is there another way that I should be doing this? Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl 5.8.5 portupgrade now openwebmail complains
On Thu, 16 Dec 2004 15:22:03 -0200, Luís Vitório Cargnini wrote > maybe you don't have this package and if you recompiled your pelr > you must recompile the package too Its possible? But I portupgrade -Rr perl and then I portupgrade -Rr openwebmail. and I still get the same response from the openwebmail.pl code. cheers, Noah > > Noah wrote: > > >Perl-5.8.5 SUIDPERL set > >openwebmail-2.41 > >FreeBSD-4.9 > > > > > >I didnt get a clear answer on this at the moment - so I am asking agian. > > > >any clues why its complaining about this? and how to fix it? > > > > > > snip > > > ># /usr/local/www/cgi-bin/openwebmail/openwebmail.pl --init > >/usr/libexec/ld-elf.so.1: /usr/local/bin/speedy_backend: Undefined symbol "Perl_ > >malloc" > >speedy[24754]: Cannot spawn backend process > > > >--- snip --- > > > > > >cheers, > > > >Noah > > > >___ > >[EMAIL PROTECTED] mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > > > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.296 / Virus Database: 265.5.4 - Release Date: 15/12/2004 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
perl 5.8.5 portupgrade now openwebmail complains
Perl-5.8.5 SUIDPERL set openwebmail-2.41 FreeBSD-4.9 I didnt get a clear answer on this at the moment - so I am asking agian. any clues why its complaining about this? and how to fix it? snip # /usr/local/www/cgi-bin/openwebmail/openwebmail.pl --init /usr/libexec/ld-elf.so.1: /usr/local/bin/speedy_backend: Undefined symbol "Perl_ malloc" speedy[24754]: Cannot spawn backend process --- snip --- cheers, Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade perl and openwebmail
On Thu, 16 Dec 2004 09:10:36 +0100, thomas leveille wrote > > > > also is this make switch suppesed to be provided when building perl or > > when building openwebmail - which port please? > > > > You need to build perl with this switch, according to the commit > history : > > "Update to 5.8.1. > > Also: > > Make suidperl optional (ENABLE_SUIDPERL knob). Switch to perlmalloc > by default, unless threaded perl is built, to improve performance. > Modernize pkg-plist (switch to SITE_PERL where possible). Update WWW. > > Many thanks to foxfair who prepared most of this update." Hi, how can I set perlmalloc on by default - I have never done this? cheers, Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
perl 5.8.5 portupgrade now openwebmail complains
Perl-5.8.5 SUIDPERL set openwebmail-2.41 FreeBSD-4.9 any clues why its complaining about this? and how to fix it? snip # /usr/local/www/cgi-bin/openwebmail/openwebmail.pl --init /usr/libexec/ld-elf.so.1: /usr/local/bin/speedy_backend: Undefined symbol "Perl_ malloc" speedy[24754]: Cannot spawn backend process --- snip --- cheers, Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade perl and openwebmail
If you have just gone from a < 5.8.1 version of Perl to the current 5.8.5, you are probably running into the following: (From the Openwebmail README file at http://www.openwebmail.org/openwebmail/doc/readme.txt ) > If you are using FreeBSD and your perl is compiled from port, > then please note that the SUID support is disabled by default > since the port for perl 5.8.1 or later > > You need to do 'make -DENABLE_SUIDPERL' in making port Lapo On Dec 15, 2004, at 2:50 PM, Noah Garrett Wallach wrote: FreeBSD-4.9 perl-5.8.5 openwebmail-2.41 just portupgraded perl now I am having difficulties reinitializing openwebmail.pl any clues on this? --- snip --- # /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl --init Args must match #! line at /dev/fd/9 line 1. speedy_backend[44225]: perl_parse error speedy[44223]: Cannot spawn backend process --- snip - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade perl and openwebmail
On Wed, 15 Dec 2004, Lapo Nustrini wrote: If you have just gone from a < 5.8.1 version of Perl to the current 5.8.5, you are probably running into the following: (From the Openwebmail README file at http://www.openwebmail.org/openwebmail/doc/readme.txt ) If you are using FreeBSD and your perl is compiled from port, then please note that the SUID support is disabled by default since the port for perl 5.8.1 or later You need to do 'make -DENABLE_SUIDPERL' in making port Lapo also is this make switch suppesed to be provided when building perl or when building openwebmail - which port please? cheers, Noah On Dec 15, 2004, at 2:50 PM, Noah Garrett Wallach wrote: FreeBSD-4.9 perl-5.8.5 openwebmail-2.41 just portupgraded perl now I am having difficulties reinitializing openwebmail.pl any clues on this? --- snip --- # /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl --init Args must match #! line at /dev/fd/9 line 1. speedy_backend[44225]: perl_parse error speedy[44223]: Cannot spawn backend process --- snip - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade perl and openwebmail
On Wed, 15 Dec 2004, Lapo Nustrini wrote: If you have just gone from a < 5.8.1 version of Perl to the current 5.8.5, you are probably running into the following: (From the Openwebmail README file at http://www.openwebmail.org/openwebmail/doc/readme.txt ) If you are using FreeBSD and your perl is compiled from port, then please note that the SUID support is disabled by default since the port for perl 5.8.1 or later You need to do 'make -DENABLE_SUIDPERL' in making port Lapo thanks - I am rebuilding perl now. is there something I can add to the /etc/make.conf file to make enabled SUID support everytime I rebuild perl? cheers, Noah On Dec 15, 2004, at 2:50 PM, Noah Garrett Wallach wrote: FreeBSD-4.9 perl-5.8.5 openwebmail-2.41 just portupgraded perl now I am having difficulties reinitializing openwebmail.pl any clues on this? --- snip --- # /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl --init Args must match #! line at /dev/fd/9 line 1. speedy_backend[44225]: perl_parse error speedy[44223]: Cannot spawn backend process --- snip - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portupgrade perl and openwebmail
FreeBSD-4.9 perl-5.8.5 openwebmail-2.41 just portupgraded perl now I am having difficulties reinitializing openwebmail.pl any clues on this? --- snip --- # /usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl --init Args must match #! line at /dev/fd/9 line 1. speedy_backend[44225]: perl_parse error speedy[44223]: Cannot spawn backend process --- snip - Noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Perl undefined symbol errors
Hello, I am having issues with Perl and wondered if someone might be able to help. For example, I installed from ports, anomy-sanitizer. Occasionally I see the following error when run from procmail: /usr/local/bin/sanitizer.pl,/usr/local/etc/sanitizer.cfg" /libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.5/mach/auto/Digest/MD5/MD5.so: Undefined symbol "Perl_malloc" I am using FreeBSD 5.3. All ports were installed straight after an update to ports-all with cvsup. It's difficult for me to debug since it only happens occasionally. Would I be correct in thinking that these errors occur because perl expects it's libs in a different place to where they are in FreeBSD? Is this a known problem and what is the solution? Thanks in advance, Matt. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Perl Proc::Processtable module and FreeBSD
I planed on writing a perl script on my FreeBSD laptop over the holidays, that would ultimetly be deployed on Solaris. I was planing on using the Proc::ProcessTable perl module in this script to collect memory usage data. Looks like this module does nt support memory statistics under FreeBSD, even though ps ddoes. Is there a better module to se, or should I just resort to useing a direct call to ps (which will of course be different on the 2 OS'es? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Threaded Perl on 4.10-RELEASE
--On Tuesday, November 16, 2004 12:30:01 PM -0500 Lowell Gilbert <[EMAIL PROTECTED]> wrote: I don't believe so, but note that the perl port will *not* install over the base system one; they will coexist on your system, and you can switch back and forth. [The port will install a script called "use.perl" for this purpose.] Note, however, that if you switch from one to the other (base to system or vice versa) you have to recompile all perl "apps" (CPAN modules, mod-perl, etc.) If you have a lot of them, this takes some pre-planning. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Threaded Perl on 4.10-RELEASE
"Gustafson, Tim" <[EMAIL PROTECTED]> writes: > Is there any way to turn on threaded Perl in the base system, instead of > using the Perl port? I need to use p5-Sendmail-Milter which requires > threads, but I would rather not install the Perl port over the base Perl > installation. Is there any flag I can set in /etc/make.conf that will > configure the base system to install a threaded Perl instead of a > non-threaded one? I don't believe so, but note that the perl port will *not* install over the base system one; they will coexist on your system, and you can switch back and forth. [The port will install a script called "use.perl" for this purpose.] -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org:8088/~lowell/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Threaded Perl on 4.10-RELEASE
On Mon, Nov 15, 2004 at 09:30:44AM -0500, Gustafson, Tim wrote: > Is there any way to turn on threaded Perl in the base system, instead of > using the Perl port? I need to use p5-Sendmail-Milter which requires > threads, but I would rather not install the Perl port over the base Perl > installation. Is there any flag I can set in /etc/make.conf that will > configure the base system to install a threaded Perl instead of a > non-threaded one? No, unfortunately there isn't (at least, not without delving into the code). Your best and simplest option really is to install lang/perl5.8. Remember that you need to install it with the WITH_THREADS make option in order to get a threaded perl. Threading support in perl-5.005.03 was still quite experimental. Support in a recent version, like 5.8.5 is much better Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpMh0Krnp0Se.pgp Description: PGP signature
Threaded Perl on 4.10-RELEASE
Hello! Is there any way to turn on threaded Perl in the base system, instead of using the Perl port? I need to use p5-Sendmail-Milter which requires threads, but I would rather not install the Perl port over the base Perl installation. Is there any flag I can set in /etc/make.conf that will configure the base system to install a threaded Perl instead of a non-threaded one? Thanks in advance! Tim Gustafson MEI Technology Consulting, Inc [EMAIL PROTECTED] (516) 379-0001 Office (516) 480-1870 Mobile/Emergencies (516) 908-4185 Fax http://www.meitech.com/ smime.p7s Description: S/MIME cryptographic signature
Re: Perl 5.005 on Freebsd 5.3
Volker Lieder wrote: Hello list, i need the perlversion 5.005 on Freebsd 5.3. I tried to compile it by hand, but when i try "make" i got an error like make: don't know how to make . Stop I need this perl-version only for one application :-/ Perhaps anybody has an idea. I also need version 5.8.5, but thats not the problem. Perhaps you can help me. Have you tried gmake? Some programs that won't build with FreeBSD's make build just fine using gmake. It's always the first thing I try when make fails. Otherwise, you can look for a binary package - even if it's old, you can probably get it to run with COMPAT_* Hope this helps, Benjamin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Perl 5.005 on Freebsd 5.3
Hello list, i need the perlversion 5.005 on Freebsd 5.3. I tried to compile it by hand, but when i try "make" i got an error like make: don't know how to make . Stop I need this perl-version only for one application :-/ Perhaps anybody has an idea. I also need version 5.8.5, but thats not the problem. Perhaps you can help me. Volker ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl 5.6 and tk in the ports
On Mon, Nov 08, 2004 at 05:04:43PM -0600, Brian Henning wrote: > Greetings: > > Is there a way to use TK with perl 5.6? Not according to the port makefile. Discuss this further with the authors of that perl module. > is there a way to have two seperatate installs of perl on the same > system (5.6) and (5.8) so i can run /usr/ports/x11-toolkits/p5-Tk? Not easily. Kris pgpFhNSrEP8xo.pgp Description: PGP signature
perl 5.6 and tk in the ports
Greetings: Is there a way to use TK with perl 5.6? is there a way to have two seperatate installs of perl on the same system (5.6) and (5.8) so i can run /usr/ports/x11-toolkits/p5-Tk? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl vs php round 1
Gert Cuykens wrote: Can you do as much with perl as you can do with php ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I should think so. In fact, I am pretty sure you can do far more with Perl than with PHP... There are so many modules for perl, I think there's hardly anything short of writing a compiler or operating system that cannot be done in perl (and possibly even that)... Or are you referring to web development specifically? In that regard, I think the two are pretty close in terms of what they allow you to do. PHP has a strong plus since it's embeddable in HTML, and a strong minus, because I did not get a debugger to work with it... I for one prefer Perl a lot, since it's really an all-round language whereas PHP was designed with web development in mind; true, nowadays you can also write GUIs in PHP, but it wasn't meant to do that... However, I think - if you are in fact talking about web development - Perl vs. PHP is more a matter of taste (or other circumstances) than a technical one. Kind regards, Benjamin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl vs php round 1
i want to learn something that is capable to run applications on the web but is totally separated from the html meaning i HATE doing this If using PHP then give Smarty a try: http://smarty.php.net/rightforme.php Thanks, -- Scott A. Gerhardt, P.Geo. Gerhardt Information Technologies On Oct 26, 2004, at 12:02 AM, Gert Cuykens wrote: ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl vs php round 1
On Tue, Oct 26, 2004 at 07:18:02AM +0200, Gert Cuykens wrote: > Can you do as much with perl as you can do with php ? Yes, in the strict comp. sci. sense of "Turing Completeness" and yes in the practical sense of what modules and extensions exist to help you program stuff. In fact, perl is generally better than PHP for arbitrary tasks, as perl was always intended to be a general purpose language, whereas PHP is still pretty much a web-scripting language (yes, I know you /can/ use PHP for other purposes, but my point still stands). The same goes for any of the other high-level languages you might care to mention: python, ruby, java etc. Which (if any) you prefer is a matter of personal taste. But beware of supporting one or the other of these too vocally on public fora, as the religious wars over "my language is better than your language" tend to be many and bitter. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgpMqdOp3g97V.pgp Description: PGP signature
Re: perl vs php round 1
In the immortal words of Gert Cuykens <[EMAIL PROTECTED]>... > Dame you, now i still don't know which one to use PS what about python > ? Doesn't google and nasa use python, i wonder why. It has defenatly > the coolest name meaning i can make phyton aplications sounds way > cooler then perl or php or java :P The simplest answer is, pick one, learn it, then use it. They all have pros and cons. I tend to mix and match with Perl & PHP depending on what I need. If I need web output I use PHP, if I need console output/ background stuff then I use Perl. I suggest that you look at example code from each one, and pick whichever one you understand the most from reading the code. Cheers Tim -- Tim Aslat <[EMAIL PROTECTED]> Spyderweb Consulting http://www.spyderweb.com.au Phone: +61 0401088479 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl vs php round 1
On Tue, 26 Oct 2004 09:56:36 +0300, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Gert Cuykens [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, October 26, 2004 8:50 AM > > To: Giorgos Keramidas > > Cc: [EMAIL PROTECTED] > > Subject: Re: perl vs php round 1 > > > > > > ok i will try my best not to use any bad words but sometimes they are > > really needed to say something :) > > > > For example what do you say if you are writing a poem to your > > girlfriend and suddenly your pc crashes. I bet i would sound something > > like (*&%^(@%([EMAIL PROTECTED]&*!^%&[EMAIL PROTECTED] > > > > > > Its also good to stay on topic. And topposting is bad in this list. Please > cut > any text not needed for responce out and post at the appropriate points in > the list to answer or ask questions. > > "In the best possible future, there will be, no war, no famine, no crime, no > > sickness, no oppression, no fear, no limits, no shame... and nothing to do." > ok i will type something here in the futher. So what about python is it cool does it like apache ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: perl vs php round 1
> -Original Message- > From: Gert Cuykens [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 26, 2004 8:50 AM > To: Giorgos Keramidas > Cc: [EMAIL PROTECTED] > Subject: Re: perl vs php round 1 > > > ok i will try my best not to use any bad words but sometimes they are > really needed to say something :) > > For example what do you say if you are writing a poem to your > girlfriend and suddenly your pc crashes. I bet i would sound something > like (*&%^(@%([EMAIL PROTECTED]&*!^%&[EMAIL PROTECTED] > > Its also good to stay on topic. And topposting is bad in this list. Please cut any text not needed for responce out and post at the appropriate points in the list to answer or ask questions. "In the best possible future, there will be, no war, no famine, no crime, no sickness, no oppression, no fear, no limits, no shame... and nothing to do." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl vs php round 1
ok i will try my best not to use any bad words but sometimes they are really needed to say something :) For example what do you say if you are writing a poem to your girlfriend and suddenly your pc crashes. I bet i would sound something like (*&%^(@%([EMAIL PROTECTED]&*!^%&[EMAIL PROTECTED] On Tue, 26 Oct 2004 09:36:47 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > Please don't post your reply on top of the quoted text and trim the > quotes instead of including the entire original message verbatim :-/ > > On 2004-10-26 08:27, Gert Cuykens <[EMAIL PROTECTED]> wrote: > > On Tue, 26 Oct 2004 09:19:48 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > > This can be done just as easily with mod_perl as with php. It all > > > depends on the level of abstraction that you choose to write your > > > HTML pages in. > > > > Dame you, now i still don't know which one to use PS what about python > > ? Doesn't google and nasa use python, i wonder why. It has defenatly > > the coolest name meaning i can make phyton aplications sounds way > > cooler then perl or php or java :P > > I'd appreciate it if you stopped using "damn", "damned", their derivatives or > other possibly offensive terms in a mailing list with thousands of subscribers. > > If you are only learning how PHP or mod_perl works, it doesn't really matter. > Learn whatever you find it easier to install and configure. If you have a > specific application with specific needs in mind, it would help if you > described it in more detail. > > PS: I am not sure if Python can be embedded in HTML pages. I bet someone has > already written a mod_python or something similar for Apache, but I don't use > Python so I don't know any details. > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl vs php round 1
Please don't post your reply on top of the quoted text and trim the quotes instead of including the entire original message verbatim :-/ On 2004-10-26 08:27, Gert Cuykens <[EMAIL PROTECTED]> wrote: > On Tue, 26 Oct 2004 09:19:48 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > This can be done just as easily with mod_perl as with php. It all > > depends on the level of abstraction that you choose to write your > > HTML pages in. > > Dame you, now i still don't know which one to use PS what about python > ? Doesn't google and nasa use python, i wonder why. It has defenatly > the coolest name meaning i can make phyton aplications sounds way > cooler then perl or php or java :P I'd appreciate it if you stopped using "damn", "damned", their derivatives or other possibly offensive terms in a mailing list with thousands of subscribers. If you are only learning how PHP or mod_perl works, it doesn't really matter. Learn whatever you find it easier to install and configure. If you have a specific application with specific needs in mind, it would help if you described it in more detail. PS: I am not sure if Python can be embedded in HTML pages. I bet someone has already written a mod_python or something similar for Apache, but I don't use Python so I don't know any details. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl vs php round 1
Dame you, now i still don't know which one to use PS what about python ? Doesn't google and nasa use python, i wonder why. It has defenatly the coolest name meaning i can make phyton aplications sounds way cooler then perl or php or java :P On Tue, 26 Oct 2004 09:19:48 +0300, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > On 2004-10-26 08:02, Gert Cuykens <[EMAIL PROTECTED]> wrote: > > i want to learn something that is capable to run applications on the > > web but is totally separated from the html meaning i HATE doing this > > > > hello.php > > > > code > > 11010111010101001010 > > code > > html > > he look at me > > html > > code > > 1010101011010101010101 > > code > > html > > he look at me > > html > > > > i want to do this > > > > hello.class > > code > > 101010101000111010111 > > code > > > > hello.html > > html > > look at me > > html > > > > And i would defenatly want something with classes > > This can be done just as easily with mod_perl as with php. It all depends on > the level of abstraction that you choose to write your HTML pages in. > > You can write PHP code like this: > > > > > > > >mixed with a lot of HTML code and php escapes; ?> > > > > or use your own templates for the pages you want created, and write one-liners > like the ones below: > > > > > > and encapsulate things in larger, logical units within the xxxpage() > collection of functions, possibly using classes if you like doing so ;-) > > It's all a matter of programming style and spending the time necessary to > design your sites infrastructure, if you ask me. I've used php for the > samples above, but mod_perl can be used too. > > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl vs php round 1
On 2004-10-26 08:02, Gert Cuykens <[EMAIL PROTECTED]> wrote: > i want to learn something that is capable to run applications on the > web but is totally separated from the html meaning i HATE doing this > > hello.php > > code > 11010111010101001010 > code > html > he look at me > html > code > 1010101011010101010101 > code > html > he look at me > html > > i want to do this > > hello.class > code > 101010101000111010111 > code > > hello.html > html > look at me > html > > And i would defenatly want something with classes This can be done just as easily with mod_perl as with php. It all depends on the level of abstraction that you choose to write your HTML pages in. You can write PHP code like this: > or use your own templates for the pages you want created, and write one-liners like the ones below: and encapsulate things in larger, logical units within the xxxpage() collection of functions, possibly using classes if you like doing so ;-) It's all a matter of programming style and spending the time necessary to design your sites infrastructure, if you ask me. I've used php for the samples above, but mod_perl can be used too. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl vs php round 1
i want to learn something that is capable to run applications on the web but is totally separated from the html meaning i HATE doing this hello.php code 11010111010101001010 code html he look at me html code 1010101011010101010101 code html he look at me html i want to do this hello.class code 101010101000111010111 code hello.html html look at me html And i would defenatly want something with classes So i gues we have php java perl phyton or (asp :P) And NO i am not going to learn all 4 of them, i have only one braincell to put some syntax in and it is going to be frenchphp, dutchjava, chineseperl, or englishphyton. On Tue, 26 Oct 2004 15:06:29 +0930, Tim Aslat <[EMAIL PROTECTED]> wrote: > In the immortal words of Gert Cuykens <[EMAIL PROTECTED]>... > > > > Can you do as much with perl as you can do with php ? > > Depends on who is doing it. I can do more with Perl than with PHP, but > I know someone else who can do more with PHP than Perl. It isn't the > language that is the limiting factor, it's the experience/training/skill > of the person doing it. > > It's like asking what weighs more, a kilogram of bricks, or a kilogram > of feathers. They are the same, they just look different. > > Perhaps if you gave us some indication of what you had in mind we could > give you more information. > > Cheers > > Tim > > -- > Tim Aslat <[EMAIL PROTECTED]> > Spyderweb Consulting > http://www.spyderweb.com.au > Phone: +61 0401088479 > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: perl vs php round 1
In the immortal words of Gert Cuykens <[EMAIL PROTECTED]>... > Can you do as much with perl as you can do with php ? Depends on who is doing it. I can do more with Perl than with PHP, but I know someone else who can do more with PHP than Perl. It isn't the language that is the limiting factor, it's the experience/training/skill of the person doing it. It's like asking what weighs more, a kilogram of bricks, or a kilogram of feathers. They are the same, they just look different. Perhaps if you gave us some indication of what you had in mind we could give you more information. Cheers Tim -- Tim Aslat <[EMAIL PROTECTED]> Spyderweb Consulting http://www.spyderweb.com.au Phone: +61 0401088479 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
perl vs php round 1
Can you do as much with perl as you can do with php ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
perl troubles.
Attempting to install perl 5.8 on a newly install FreeBSD 4.10 Machine. I have done the following.. Compiled Kernel with IPFW support Install cvsup and updated the ports tree then cd /usr/ports/databases/mysql40-server make install and cd /usr/ports/www/apache13-modssl make install I then did php cd /usr/ports/lang/php4 make install and moved on to perl # cd /usr/ports/lang/perl5.8 # make install ENABLE_SUIDPERL=yes When install perl 5.8 from the ports I I get this #cd /usr/ports/lang/perl5.8/ make install ENABLE_SUIDPERL=yes and got this /usr/local/man/man1/xsubpp.1 /usr/local/man/man1/a2p.1 /usr/local/man/man1/find2perl.1 /usr/local/man/man1/s2p.1 install -c -o root -g wheel -m 555 /usr/ports/lang/perl5.8/work/use.perl /usr/local/bin/use.perl /bin/mkdir -p /usr/local/lib/perl5/5.8.5/BSDPAN/. install -c -o root -g wheel -m 444 /usr/ports/lang/perl5.8/work/BSDPAN-5.8.5/BSDPAN.pm /usr/local/lib/perl5/5.8.5/BSDPAN/BSDPAN.pm /bin/mkdir -p /usr/local/lib/perl5/5.8.5/BSDPAN/BSDPAN install -c -o root -g wheel -m 444 /usr/ports/lang/perl5.8/work/BSDPAN-5.8.5/BSDPAN/Override.pm /usr/local/lib/perl5/5.8.5/BSDPAN/BSDPAN/Override.pm /bin/mkdir -p /usr/local/lib/perl5/5.8.5/BSDPAN/. install -c -o root -g wheel -m 444 /usr/ports/lang/perl5.8/work/BSDPAN-5.8.5/Config.pm /usr/local/lib/perl5/5.8.5/BSDPAN/Config.pm /bin/mkdir -p /usr/local/lib/perl5/5.8.5/BSDPAN/ExtUtils install -c -o root -g wheel -m 444 /usr/ports/lang/perl5.8/work/BSDPAN-5.8.5/ExtUtils/MM_Unix.pm /usr/local/lib/perl5/5.8.5/BSDPAN/ExtUtils/MM_Unix.pm /bin/mkdir -p /usr/local/lib/perl5/5.8.5/BSDPAN/ExtUtils install -c -o root -g wheel -m 444 /usr/ports/lang/perl5.8/work/BSDPAN-5.8.5/ExtUtils/Packlist.pm /usr/local/lib/perl5/5.8.5/BSDPAN/ExtUtils/Packlist.pm /usr/libexec/ld-elf.so.1: /usr/local/bin/perl: Undefined symbol "PL_exit_flags" *** Error code 1 Also of I issue use.perl system I get this # use.perl system /usr/libexec/ld-elf.so.1: /usr/local/bin/perl: Undefined symbol "PL_exit_flags" and is If use use.perl port # use.perl port /usr/libexec/ld-elf.so.1: /usr/local/bin/perl: Undefined symbol "PL_exit_flags" I did look at /usr/ports/UPDATING AFFECTS: users of lang/perl5.8 AUTHOR: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] lang/perl5.8 has been updated to 5.8.5. you should update everything depending on perl, that is: * first, upgrade your perl5.8 installation. * run "use.perl port", so that the system knows you have 5.8.5. * now, run some magic incantations to upgrade all ports depending on perl, that is run something like : portupgrade -f `(pkg_info -R perl-5.8.5 |tail +4; \ find /usr/local/lib/perl5/site_perl/5.8.[124] -type f -print0 \ | xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u` This is likely to fail for a few ports, you'll have to upgrade them afterwards. Please note, that this last step is, strictly speaking, not necessary, if you are upgrading from 5.8.4. But it is cleaner to do so anyway. This is I cant get past the first step. * first, upgrade your perl5.8 installation. I take it they mean to cd to the ports tree and make install .. Well that fails on me. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to update perl on FreeBSD 4.9R (Resolved)
--On Tuesday, October 12, 2004 08:42:27 PM -0400 Danny <[EMAIL PROTECTED]> wrote: I did not know you could install Perl module's through the ports. Thank you, Christopher, Erik, Paul, Donald, and everyone else that replied. Bottom line: due to the fact that I did not know you could install Perl module's via the ports, I got involved in an area (Perl) which I am not at all familiar with. In my own defence, I have just searched the FreeBSD site, the Handbook (and the ports section), and there is no mention that you can install Perl modules from the ports, instead of going the CPAN route. No need to defend yourself. We all learn by asking questions. I am familiar with the ports, and think very highly of them, but I have never worked with an application which required an additional Perl module. But, now I know where to look. You probably need to know that the CPAN modules are scattered throughout the ports tree. They're usually found in the area they affect (www, editors, lang, etc.) depending upon what their function is. To find one you need, use find or locate and search for "p5" or "p5-{your modulename}" (like p5-Mail or p5-Mail-Tools.) Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"