Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-27-2006, 04:56 AM
|
#1
|
Member
Registered: Nov 2005
Posts: 120
Rep:
|
ASP in SlackWare 10.2 anybody ?
Hi, do any of you Slackware fans have any suggestions/experience of doing ASP in linux? Please don't tell me to migrate to PHP.
If you have a working knowledge of ASP in Slackware and are willing to share it, i will fall on my knees and thank the Gods
I'm the one that have to set it up, but i'm not really in to it.
For myself i would go with PHP instead, but as those who program
already have made a ASP site...
No we're not a company.
It's a project for unemployed to learn how to create/maintain
websites and hopefully in the end, get something good out of it.
We are going to run it on a Slackware 10.2 with a PDC (SambaServer)on against w2000/nt4 W_stations, and Mysql/Apache..
So what should i use that don't cost, are (i wish)
easily configured, and on or of course works ???
Regards Yoron
Last edited by yoron; 04-27-2006 at 04:58 AM.
|
|
|
04-27-2006, 09:11 AM
|
#2
|
Member
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465
Rep:
|
I spent a long time thinking about this when I underwent a personal migration from Windows-Linux. In the end I sacrified my local development environment!
However, that wasn't what you wanted to hear, so let's examine the options:
1. Reskill and learn PHP (you've covered that already!)
2. apache::asp - this runs ASP, but, doesn't use VBScript; it uses Perl as it's native format. So you'd have to find a vbscript2perl converter or write a decent vbscript parser (mod_vbscript instead of mod_perl) for apache::asp. ( http://www.apache-asp.org/)
3. Chili!Soft ASP is what you want, but has been bought by Sun. http://www.sun.com/software/chilisoft/ Unfortunatly the license costs are greater than 0, so possibly not what you want. I'm looking at their site atm and see that they're not charging as much as they used to ... $220 is not the $10,000 that I last saw on Chili!Soft's site =D
The downside is that this "Sun Java System Active Server Pages" is meant to be deployed on RHEL 2.1 or Solaris, so you would be hacking your Slack install to make it work (I'm currently hacking SuSE to get some PCB software running in the same way).
I've just run another search and discovered this http://modgb.sourceforge.net/ . The plus side is it looks like exactly what you want. The downside is that development seems to have stopped 4 years ago.
I'm sorry I couldn't be the bearer of better news, but I don't believe there are any other options!
Good luck,
- Piete.
|
|
|
04-27-2006, 05:27 PM
|
#3
|
Member
Registered: Oct 2004
Location: NY
Distribution: Slackware
Posts: 200
Rep:
|
I'm not a "microsoft person" but maybe this is an answer :
http://www.mono-project.com/Main_Page
.NET implementation for linux, you should be able to run asp.net with it.
Learn PHP.
|
|
|
04-27-2006, 07:42 PM
|
#4
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
Asp.net is different from Asp 3.0, there have been major changes.
|
|
|
04-28-2006, 06:12 AM
|
#5
|
Member
Registered: Nov 2005
Posts: 120
Original Poster
Rep:
|
Thanks, really nice answers here 
I've tried to install Mono Krizz, but it seems to be compiled for BSD and as i'm using slackware
It asks for csc and mcs and dont find them on my system so it says that there are no C# compilers, but i have, i have i say
And there is teen weeks development in ASP on the forthcoming site so the guy who programmed it don't really feel for throwing it all away. Even thou he says that PHP and ASP are similar in syntax etc.
Otherwise i would agree with you, it seems to be ok.
And Piete i've been looking at 'Chillisoft' to and tried to find some compilations that was made before they wanted $$$. But i haven't found them, so if anyone knows a direction to go.
Finally mrcheeks, if that now is your real name, hmm 
what do you mean by major changes?
isn't it backwards compatible or ???
I will check out your links Piete.
And thanks again guys.
BTW: i'm not into pearlprogrammin either i'm afraid 
maybe i should be, but at this point it seems to be just one more obstacle/complication for getting the site to run.
-------------------------Woops--------------------------
Just checked at the Mono site, it seems i've got the wrong version, they have a 55MB *.bin file that i'm installing now, without problems (so far).
It's a generic file with a graphicall installer for all Linux versions.
And it looks really good to..
Otherwise one could ( if desperate ) use SUSE 10.0
open source as they have Support for that.
________________-----------______________________
regards Yoron.
Last edited by yoron; 04-28-2006 at 07:57 AM.
|
|
|
04-29-2006, 09:37 AM
|
#6
|
Member
Registered: Nov 2005
Posts: 120
Original Poster
Rep:
|
well now for some bad? news  .
It did not install as iīve hoped, it seems that it craves Gnome, not kde.
Also it wants the 2.6 kernel.
So iīm accually thinking somewhat of migrating to Suse.
Cause i wont manage the server later on and those guys that do will problaby feel
more secure with a graphicall enviorment wherein they can manage everything.
And it is Novell that supports Mono and owns Suse, kind of..
Iīve tried the ītestī2.6 kernel on my Slackware but it resulted in a lot of ībroken linksī
and wrong libraries etc etc. So iīll just try it out at home
with SUSE 10.0 open source and install Mono on it via redcarpet2,
and... hope for the best
If you know something that would make it more easy, donīt hesitate to t(Y)ell
Regards Yoron.
Last edited by yoron; 04-29-2006 at 09:52 AM.
|
|
|
04-29-2006, 09:46 AM
|
#7
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Rep:
|
Quote:
Originally Posted by yoron
Also it wants the 2.6 kernel.
|
Mono does not require a 2.6 kernel. I'm running it and have a 2.4.32.
Quote:
Originally Posted by yoron
Cause i wont manage the server later on and those guys that do will problaby feel
more secure with a graphicall enviorment wherein they can manage everything.
|
A server with a graphical environment? What a waste of resources.
|
|
|
05-04-2006, 04:52 AM
|
#8
|
Member
Registered: Nov 2005
Posts: 120
Original Poster
Rep:
|
Well, i don't rightly remember where i read it anymore 
Probably when i was trying to install that 55 MB installer from the Monosite.
But it's nice to hear that you've got it working on Slackware.
Do tell me what/how you did.
And yes, it's a waste of resources with the GUI, still it will give
people without Linux/Unix knowledge a simpler base to work from in the beginning. I'm trying to get Suse to be as complete and easy to maintain as possible from the KDE
At least i try
But they have a lot of scripts etc that differs from SlackWare.
So i'm learning, again, and again....
They wont (probably, that is) use the graphical enviorment once they
/ I got it all working as it should.
Who knows man, i would have gone with PHP.
But the guy who is gonna introduce the kids to Sitemaking is
a MS VB kind of guru and feels that it would be wrong to both teach and learn a new language at the same time, quite rightly i think.
Q.
Are you using the latest Mono or ??
Have you tried it with with VB scripting ??
(Just to see if it works, that is)
Regards Yoron.
|
|
|
05-04-2006, 05:16 AM
|
#9
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Rep:
|
I'm using the latest Mono version. I also have Gware Gnome installed.
You should also compile libgdiplus and gtk-sharp from the Mono website.
|
|
|
05-04-2006, 07:34 AM
|
#10
|
Member
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465
Rep:
|
If I understand conrrectly, Mono won't let you run ASP. Mono is a .net implementation, so unless your guru friend wants to learn .net, you're still in the same situation you were in at the beginning of this thread. Mono still won't parse VBScript, just C#.
I've since started looking at php, and can't find anything I did in ASP to be any harder in php - the difference between the two is merely syntactical. The same concepts apply, and you might wish to consider the possibility of legally distributing apache/php to your students. I suspect you could teach both side-by-side: once someone knows one, the transferrence to the other is incredibly simplistic (see below!).
You and your friend may also wish to take into account some research currently underway that suggests some people have a natural aptitude in programming (so teaching them *how* to program is worthless, merely give them the syntax and they're away) while others will always fail because they do not have this aptitude (so trying to teach them is a waste of time!).
http://www.cs.kent.ac.uk/dept_info/s...006_01_24.html
Slight OT, I realise, but it's an excellent paper! =D
I hope you solve your problems,
- Piete.
|
|
|
05-04-2006, 08:43 AM
|
#11
|
Member
Registered: Oct 2004
Location: NY
Distribution: Slackware
Posts: 200
Rep:
|
As I don't know to much about M$ technologies I'm not sure if what I'm saying is right, but to me it looks like Mono is able to interpret ASP.NET. Check out this link :
http://www.mono-project.com/FAQ:_ASP.NET
Correct me if I'm worng.
|
|
|
05-04-2006, 05:22 PM
|
#12
|
Member
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465
Rep:
|
Yes, Mono does interpret ASP.NET - but you need to understand that ASP.NET is not the same as ASP.
.NET is a framework that can used in all sorts of places, the .NET implementation of ASP is the server-side web bit, while something like VB.NET will let you build GUI things.
So just to labour a point: ASP.NET is not ASP. Yoron want's to run ASP, which is usually written in VBScript, but since there are no native VBScript parses for apache (mod_vbscript doesn't exist) you cannot take an ASP page tried and tested on IIS and just run it under Apache on Linux =)
|
|
|
05-05-2006, 08:05 AM
|
#13
|
Member
Registered: Nov 2005
Posts: 120
Original Poster
Rep:
|
OOOhhhh sh***.
And thanks Piete and you all
So i'm back to square one then ?
My best bet if i want this to start working should be to try
to find a version of chillisoft that's older but still free.
That explains why my test.asp never worked.
I've been working my ass of trying to upgrade Mono in KDE.
The red carpet installation (SUSE) they offered was somewhat faulty
so iv'e been playing with yast since then, and thinking that the newer version would include support for VB, i always got disappointed
while testing
And yes Piete, that was an interesting study they've made.
It's like here in Europe they say that current goes one way at least diagrammicly, kind of, but in the states they've changed to the correct description, if i've got it right, wrong?
- to + as i see it
That older version never made sense to me when i went to school.
So maybe i'll be one of those not to good progammers to
So it's PHP or a free version of Chillisoft for us, i'm afraid..
SssssooooO do any one, perchance, happen to know of a reprisitory where one could find an somewhat older but free version of chillisoft ??
Last edited by yoron; 05-05-2006 at 08:28 AM.
|
|
|
05-05-2006, 08:43 AM
|
#14
|
Member
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465
Rep:
|
Possibly this will be some help when you can't find ChillisoftASP (it used to be $10,000 for a single license - I doubt there are any free versions available!):
http://asp2php.naken.cc/
|
|
|
05-08-2006, 08:01 AM
|
#15
|
Member
Registered: Nov 2005
Posts: 120
Original Poster
Rep:
|
Hmm, interesting
But ... the guy who wrote it states that he made it as a support for migrating to PHP.
He won't reccomend using it for the reason
i think you put the link up for me
Otherwise Mono gives me a headache...
Maybe if i had some vb experience, but alas, i don't
I'm still not shure what it can do, for ex. does it parse vb. code to c# and then compile/output it to f ex apache???
And on the lists i've been looking on, the guys who develops it
seems to get a lot of complaints
here is some comments from them.
"
On Sat, 2006-04-29 at 13:32 -0400, Miguel de Icaza wrote:
Neither am I a C# or VB.NET programmer (in the remotest sense) nor am I am compiler guru. I am making these observations as a practitioner and as someone who spared some sincere love over mbas/bmcs.
I do have another concern though; Today folks are reporting that VB does not work (and in a sense that is correct, we do not even have full runtime support).
I think I might want to move mbas, mbas2, bmcs and the VisualStudio runtime *out* of mcs and not distribute it as part of mono/mcs until they are ready. The runtime in particular is missing enough pieces (from 2.0, but the issue comes up frequently) that I much rather just state that we do not support VB.NEt for the time being.
-----------------------------
That sounds like a good idea. I do think it is important to keep the run-time support separate from the compiler like is done for version 1.0 and 1.1 of the .NET framework. I think there is more interest in getting VB.NET apps to run on Mono than the ability to be able to compile VB.NET apps using mono.
Cheers,
Jelmer
------------And-----------------
"
The tests for VB.NET compiler regression is neither coherent nor complete. It is only limitedly useful."
answer:
"
I think they cover most of what is needed (for .NET1). The only problem at the moment is that it's hard to figure out when you've broken something as the compiler fails a whole bunch of tests and there is no "know broken" list like mcs has.
Cheers,
Jelmer "
----------------------------------------------
Maybe it's primarily made for guys who both are into linux in a big way and, are seasoned programmers to ??
Cause, even though i've upgraded my mono and kde/gnome
and, yes it works, i can't seem to find any hints (tutorial) for how to using it..
The earlier version had some tutorials, but they seemed to have been made for an even earlier version of mono.
That is, they went a way and then forked out into wrongness.
Kind of
But i've been investing so much time in this project now that i'll have to see it trough somehow...
--------------------found this----------
http://www.gotmono.com/docs/index.html
It's called the mono Hand book. i'm downloading parts of it to see if it explains vb
and what it can do..
-----------------------------------------------------
Piete and ya all , i give up on it, i will admit defeat
It will give you vb code but not for apache.
As you wrote, it wont parse vb, even though there are a mono module for apache.
I guess it works ok if written in c#, but that's not what them boys want 
Last edited by yoron; 05-09-2006 at 04:09 AM.
|
|
|
All times are GMT -5. The time now is 09:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|