"no makefile found": how do I install from tar ball?

Asked by Zhang Weiwu

Need to try 1.5.1. I found the instruction on the website is for 1.4 thus I cannot follow it:
http://book.schooltool.org/htmlhelp/install.html

I downloaded 1.5.1 tar ball:
http://launchpad.net/schooltool/development/1.5.1/+download/schooltool-1.5.1.tar.gz

Read the "read me", section "Building and running SchoolTool from a source tarball"

the instruction asked me to install some packages, which I did.

It then ask me to type "make", without mentioning in which directory I should do that. I assume it the same directory as readme file residents:
# LANGUAGE=en_US:en make
make: *** No targets specified and no makefile found. Stop.

Where do I go from here?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
SchoolTool Edit question
Assignee:
No assignee Edit question
Solved by:
Zhang Weiwu
Solved:
Last query:
Last reply:
Revision history for this message
Douglas Cerna (replaceafill) said :
#1

Looking at http://bazaar.launchpad.net/~schooltool-owners/schooltool/trunk/files I see that README.txt is kind of old. Its last update was on 2009-11-23 15:35:16 and those tarball instructions also seem old.

If you're using Ubuntu Lucid, maybe you could install the dev package (1.5.1 based on revision 2701) from the dev ppa (haven't tested it yet):

sudo add-apt-repository ppa:schooltool-owners/dev
sudo apt-get update
sudo apt-get install schooltool-2009

Revision history for this message
Douglas Cerna (replaceafill) said :
#2

Oh sorry! I just tested it in a fresh Lucid and it doesn't work. It seems like the dev ppa has only schooltool-zambia in it :(

Revision history for this message
Zhang Weiwu (zhangweiwu) said :
#3

Then what is the recommended way to install 1.5.0 at the moment? Thanks in advance for any feedback. and, please as a developer don't forget to update the readme file or at least remove the wrong parts. THanks!

Revision history for this message
Tom Hoffman (tom-hoffman) said :
#4

If you want the latest code from the repositories, do this:

http://book.schooltool.org/htmlhelp/dev_sandbox.html

Alternately, you can upgrade to the Maverick beta, and you'll get SchoolTool 1.5

--Tom

On Fri, Sep 24, 2010 at 12:34 AM, Zhang Weiwu
<email address hidden> wrote:
> New question #126649 on SchoolTool:
> https://answers.launchpad.net/schooltool/+question/126649
>
> Need to try 1.5.1. I found the instruction on the website is for 1.4 thus I cannot follow it:
> http://book.schooltool.org/htmlhelp/install.html
>
> I downloaded 1.5.1 tar ball:
> http://launchpad.net/schooltool/development/1.5.1/+download/schooltool-1.5.1.tar.gz
>
> Read the "read me", section "Building and running SchoolTool from a source tarball"
>
> the instruction asked me to install some packages, which I did.
>
> It then ask me to type "make", without mentioning in which directory I should do that. I assume it the same directory as readme file residents:
> # LANGUAGE=en_US:en make
> make: *** No targets specified and no makefile found.  Stop.
>
> Where do I go from here?
>
> Thanks.
>
> --
> You received this question notification because you are a member of
> SchoolTool Owners, which is an answer contact for SchoolTool.
>

Revision history for this message
Zhang Weiwu (zhangweiwu) said :
#5

Sorry but may I ask for clarification? What do you mean "you can upgrade to the Maverick beta, and you'll get SchoolTool 1.5"?

I assume you mean if I upgrade to Maverick beta I will see schooltool in the repository without no other change needed, then I did, and schooltool is not in the default repository.

Should I try to follow the instruction here?
http://book.schooltool.org/htmlhelp/install.html

Thanks for hints.

Revision history for this message
Zhang Weiwu (zhangweiwu) said :
#6

You said "Alternately, you can upgrade to the Maverick beta, and you'll get SchoolTool 1.5"

I thought you mean the upcoming Ubuntu 10.10 codenamed Maverick beta, because it is the first thing that pops up when I google for "Maverick beta". When I say "I upgraded to Maverick beta" in the last post I mean I upgraded the testbed computer's OS to Ubuntu 10.10

Revision history for this message
Gediminas Paulauskas (menesis) said :
#7

As written in http://book.schooltool.org/htmlhelp/install.html, you can add the PPA to your software sources. If you have done that before, and then upgraded your Ubuntu to Maverick, all custom repositories have been disabled. Open "Software Sources" and click the checkbox to re-enable the SchoolTool PPA. Click "Edit" to make sure it's distribution has been set to maverick, and remove "disabled on upgrade" comment. After you update and upgrade, you will get the newest SchoolTool.

Revision history for this message
Gediminas Paulauskas (menesis) said :
#8

If you really want to run from source tarball, but it does not contain the Makefile, you can do the following steps:

  python bootstrap.py
  bin/buildout
  bin/make-schooltool-instance instance
  bin/start-schooltool-instance instance

See the created instance/ folder for configuration files.

It is not advised to install from source into the system. That will not install init.d scripts or needed directories, so it is not full install. Use Ubuntu packages for that.

But to try a newer version of SchoolTool, the mentioned steps should be sufficient.

Revision history for this message
Gediminas Paulauskas (menesis) said :
#9

Also, no, sorry, schooltool is not in Ubuntu repositories yet. It is available in the PPA only.

Revision history for this message
Zhang Weiwu (zhangweiwu) said :
#10

Thanks. I followed the instruction of Gediminas Paulauskas said on 2010-09-24.

I removed all schooltool installations and all custom repositories after upgraded to Ubuntu Maverick, added the package repository ppa:schooltool-owners/ppa

and search for all packages with schooltool in its name, found python-schooltool at 1.5 version, install it successfully.

Thanks.