Forum archive 2000-2006

Bill Ziemer - Make file for installing webwork

Bill Ziemer - Make file for installing webwork

by Arnold Pizer -
Number of replies: 0
inactiveTopicMake file for installing webwork topic started 8/11/2002; 10:14:57 AM
last post 8/21/2002; 11:16:04 AM
userBill Ziemer - Make file for installing webwork  blueArrow
8/11/2002; 10:14:57 AM (reads: 2498, responses: 11)
I have a makefile for the webwork installation:

http://www.csulb.edu/~wziemer/webwork_1.7_02-October-19-2001_complete_install.tar.gz

It installs perl, apache, latex2html, and the webwork system. It has been tested on Redhat 6.2, 7.2, and 7.3. I will also post this on the Rochester CVS as soon as I have access.

--Bill Ziemer

<| Post or View Comments |>


userBill Ziemer - Re: Make file for installing webwork  blueArrow
8/12/2002; 8:16:03 AM (reads: 2769, responses: 0)
There was a bug fix, the new version is posted as of 8/12/02 12:50 pm PDT. (An test version of the Makefile was tar'ed inadverantly)

For those with the old version: In Makefile replace

cp GD-1.40Makefile.PL $(GD_BUILD)/Makefile.PL

with

sed -e 's#/wwtrial#$(PREFIX)#g' GD-1.40Makefile.PL > $(GD_BUILD)/Makefile.PL

(all one line)

<| Post or View Comments |>


userBill Ziemer - Re: Make file for installing webwork  blueArrow
8/12/2002; 8:17:30 AM (reads: 2796, responses: 0)
If netpbm needs to be installed, there are problems.

1) It will install into /usr/bin for webwork to find it, so you must install as root

2) gcc ver 2.96, which ships with Redhat 7.x, doesn't the compile netpbm libraries correctly. The kludge is that the netpbm libraries are not optimized in the compilation, it works but it is slow. The fix is to upgrade the gcc compiler to version 3.x, which is not implemented in the makefile, and won't be since that is a fairly major revision to the system.

<| Post or View Comments |>


userRichard M. Woodward - Re: Make file for installing webwork  blueArrow
8/14/2002; 1:30:21 PM (reads: 2762, responses: 0)
I just finished running the script which Bill Ziemer has so generously provided. Before I begin building webwork courses I would like to solve this problem with the slow netpbm library compilation. So I have two questions (probably best addressed to Bill):

1) Can I simply rerun the complete installation script again after installing gcc 3.x?

2) If the answer to question 1 is yes, how do I go get v3.x (and what is the current value of "x")?

PS Many thanks to Bill for this kind of service.

<| Post or View Comments |>


userBill Ziemer - Re: Make file for installing webwork  blueArrow
8/15/2002; 9:42:52 AM (reads: 2801, responses: 0)
To check the version of your gcc, type "gcc --version" Go to gcc.gnu.org for a latest version.

The makefile checks to see if you already have netpbm and gdbm installed, and if so it won't overwrite them. To check if the makefile installed netpbm, type "ls -l /usr/bin/pngtopnm" and see if the date is when you ran the make.

I have posted a new version of the makefile that incorporates many suggestions from John Jones at ASU.

Now, when make successfully builds a component, a file named "<component>-install" is created. So now to see if netpbm was installed, check the directory for a file called "netpbm-install". To rebuild netpbm, remove the "netpbm-install" file and run make again. Or, to reinstall the whole thing, do "make clean" then "make".

 

<| Post or View Comments |>


userRichard M. Woodward - Re: Make file for installing webwork  blueArrow
8/15/2002; 6:20:16 PM (reads: 2745, responses: 0)
OK, I got gcc 3.2 (one BIG file), but I lost my nerve. I'm not going to try using it until I have my webwork course setup learning curve behind me.

Where is the new makefile with the improvements suggested by John Jones? I would like to see what those improvements are.

Thanks, Richard

<| Post or View Comments |>


userBill Ziemer - Re: Make file for installing webwork  blueArrow
8/16/2002; 4:08:31 AM (reads: 2766, responses: 0)
It is still http://www.csulb.edu/~wziemer/webwork_1.7_02-October-19-2001_complete_install.tar.gz

By the way, Redhat comes with already netpbm installed already, so the discussion is moot for Redhat users.

<| Post or View Comments |>


userBill Ziemer - Re: Make file for installing webwork  blueArrow
8/19/2002; 9:50:57 AM (reads: 2748, responses: 1)
I have updated the makefile to fix png2eps and gif2eps, as per the message: 7/28/02 PDF graph download on RedHat 7.3 PC s... George Jennings

<| Post or View Comments |>


userRichard M. Woodward - Re: Make file for installing webwork  blueArrow
8/20/2002; 11:30:19 AM (reads: 3029, responses: 0)
Hello, WebWorkers.

I have finished running the complete install provided by Bill Ziemer, but I am not sure what else needs to be done before setting up a WebWork course.

When I test the newly created perl program (perl -V) it is clear that my old perl program (installed when I build Red Hat Linux 7.2) has been properly replaced via the actions of Bill's script.

However, when I test my Apache Web Server (using Mozilla to find "http://localhost") I find the older Apache is still running. Was the older Apache supposed to be automatically replaced by the new one, or am I supposed to take some kind of action as root?

Can anybody help me on this?

Thanks, Richard M. Woodward math@richardwoodward.com

<| Post or View Comments |>


userBill Ziemer - Re: Make file for installing webwork  blueArrow
8/21/2002; 4:40:35 AM (reads: 2695, responses: 0)
The new apache is installed under port 8888 by default, so as to not conflict with any older running apache.

http://localhost:8888

is the webwork apache. This can be changed by editing

<prefix>/apache2/conf/httpd.conf

and changing the line

Listen 127.0.0.1:8888

<| Post or View Comments |>


userRichard M. Woodward - Re: Make file for installing webwork  blueArrow
8/21/2002; 9:05:40 AM (reads: 2721, responses: 0)
OK, Bill. Thanks!

Let me test my understanding of this. I can continue to run my Red Hat Linux 7.2 out of the box (as far as apache is concerned). But when I want to focus on WebWork, I control Apache 2.0 by using one of the commands:

/usr/local/apache2/bin/httpd -k start /usr/local/apache2/bin/httpd -k stop /usr/local/apache2/bin/httpd -k restart

Then, with Apache2 started, I can access the desired html pages via the use of port 8888 in my URL.

I was successful in displaying the Apache 2.0 default start page when I used the URL http://localhost:8888. Similarly, the Apache 1.3 default start page is displayed when I omit the port number 8888.

Hopefully, I am on the right track with this. Let me know if you disagree (I will put on my thick skin.)

I'm ready, I guess, to get serious about building a WebWork course on my IBM PC (described below): 400MHz IBM PC300L/IBM mouse/IBM 101-key keyboard 256MB RAM 6.4GB hard drive 48x cdrom drive 3.5" floppy NIC (to access my modem and printer on Win2K) Sound card/speakers/microphone (the day for these is coming soon)

My thanks to Bill Ziemer for all his support.

Regards, Richard M. Woodward math@richardwoodward.com

<| Post or View Comments |>


userBill Ziemer - Re: Make file for installing webwork  blueArrow
8/21/2002; 11:16:04 AM (reads: 2708, responses: 0)
You are quite correct.

As a convenience, I have included a start/stop/restart script called ww in the bin directory: for instance <prefix>/bin/ww start to start the webwork webserver.

<| Post or View Comments |>