| View previous topic :: View next topic |
| Author |
Message |
Stephane Wirtel OpenERP Developer
Joined: 23 Mar 2008 Posts: 123 Location: Grand-Rosiere
|
|
| Back to top |
|
 |
pasgou
Joined: 07 Oct 2008 Posts: 104
|
Posted: Sat Nov 29, 2008 6:29 pm Post subject: |
|
|
Can't install it :
- something with dot ... missing (I had to install pydot and pychart and I did it)
- after build, the build-scripts directory is empty.
install command is inoperant
Some help needed. _________________ COPAGEX - NANTES
http://www.copagex.fr |
|
| Back to top |
|
 |
Stephane Wirtel OpenERP Developer
Joined: 23 Mar 2008 Posts: 123 Location: Grand-Rosiere
|
Posted: Sat Nov 29, 2008 10:07 pm Post subject: |
|
|
You can launch the server without build it.
| Code: |
cd openerp-server-5.0.0-rc1/bin
python ./openerp-server.py
|
_________________ OpenERP Developer |
|
| Back to top |
|
 |
pasgou
Joined: 07 Oct 2008 Posts: 104
|
Posted: Sun Nov 30, 2008 1:45 pm Post subject: |
|
|
but it is not install in a "normal" directory !?! _________________ COPAGEX - NANTES
http://www.copagex.fr |
|
| Back to top |
|
 |
greno
Joined: 18 Aug 2007 Posts: 749
|
|
| Back to top |
|
 |
pasgou
Joined: 07 Oct 2008 Posts: 104
|
Posted: Mon Dec 01, 2008 10:58 am Post subject: |
|
|
Thanks
I will wait a version with a good and tested installation procedure.
I have had some troubles with such a description about 4.2.3.4, so ...
Regards _________________ COPAGEX - NANTES
http://www.copagex.fr |
|
| Back to top |
|
 |
Stephane Wirtel OpenERP Developer
Joined: 23 Mar 2008 Posts: 123 Location: Grand-Rosiere
|
Posted: Mon Dec 01, 2008 3:05 pm Post subject: |
|
|
We will make a new release candidate this evening,
If you have any bug, can you fill a bug report ?
https://bugs.launchpad.net/openobject/+filebug
Because without bug reports, We can not fix the issues.
Thank you _________________ OpenERP Developer |
|
| Back to top |
|
 |
pasgou
Joined: 07 Oct 2008 Posts: 104
|
Posted: Mon Dec 01, 2008 5:28 pm Post subject: |
|
|
Cela sera fait.
Merci _________________ COPAGEX - NANTES
http://www.copagex.fr |
|
| Back to top |
|
 |
pasgou
Joined: 07 Oct 2008 Posts: 104
|
Posted: Fri Dec 05, 2008 10:09 pm Post subject: |
|
|
Couldn't import dot_parser, loading of dot files will not be possible.
/usr/lib/python2.5/distutils/dist.py:263: UserWarning: Unknown distribution option: 'console'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --build not recognized _________________ COPAGEX - NANTES
http://www.copagex.fr |
|
| Back to top |
|
 |
Stephane Wirtel OpenERP Developer
Joined: 23 Mar 2008 Posts: 123 Location: Grand-Rosiere
|
Posted: Sat Dec 06, 2008 7:36 pm Post subject: |
|
|
python setup.py build
and not python setup.py --build
You can use the --help flag to get the help
and if you test the rc1, there is a bug with the build stage, you can use the rc1.1 or use the source from LaunchPad. _________________ OpenERP Developer |
|
| Back to top |
|
 |
pasgou
Joined: 07 Oct 2008 Posts: 104
|
Posted: Sat Dec 06, 2008 10:21 pm Post subject: |
|
|
Thanks
I did a mistake and film test this rc tomorrow _________________ COPAGEX - NANTES
http://www.copagex.fr |
|
| Back to top |
|
 |
greno
Joined: 18 Aug 2007 Posts: 749
|
Posted: Sun Dec 07, 2008 6:06 pm Post subject: |
|
|
Using the latest release candidate, rc1.1, I have not been able to successfully build an rpm. I am using the command:
| Code: | | python setup.py bdist_rpm |
and I see this error:
| Code: | error: File /home/greno/build/python-dist/openerp-server-5.0.0-rc1.1/build/bdist.linux-i686/rpm/openerp-server/openerp-server-5.0.0_rc1.tar.gz: No such file or directory
error: command 'rpmbuild' failed with exit status 1 |
Has anyone been able to build an rpm using rc1.1?
Regards,
Gerry |
|
| Back to top |
|
 |
xrg
Joined: 04 Mar 2008 Posts: 181 Location: Athens, Greece
|
Posted: Sun Dec 07, 2008 6:39 pm Post subject: |
|
|
| Quote: |
| Code: | error: File /home/greno/build/python-dist/openerp-server-5.0.0-rc1.1/build/bdist.linux-i686/rpm/openerp-server/openerp-server-5.0.0_rc1.tar.gz: No such file or directory
|
...
Has anyone been able to build an rpm using rc1.1?
|
I will take a wild guess and suspect that your python-distutils have some trouble, perhaps with the release string (not all symbols from a release are acceptable in an RPM versioning).
I have build rpms, with an external script, for Mandriva. Only need some public host to let them out wild.
PS. Somebody fix the quotes in phpBB? |
|
| Back to top |
|
 |
greno
Joined: 18 Aug 2007 Posts: 749
|
Posted: Sun Dec 07, 2008 6:43 pm Post subject: |
|
|
Here's the full sequence of events:
| Code: | tar -cf dist/openerp-server-5.0.0-rc1.tar openerp-server-5.0.0-rc1
gzip -f9 dist/openerp-server-5.0.0-rc1.tar
removing 'openerp-server-5.0.0-rc1' (and everything under it)
copying dist/openerp-server-5.0.0-rc1.tar.gz -> build/bdist.linux-i686/rpm/SOURCES
building RPMs
rpmbuild -ba --define _topdir /home/greno/build/python-dist/openerp-server-5.0.0-rc1.1/build/bdist.linux-i686/rpm --clean build/bdist.linux-i686/rpm/SPECS/openerp-server.spec
error: File /home/greno/build/python-dist/openerp-server-5.0.0-rc1.1/build/bdist.linux-i686/rpm/openerp-server/openerp-server-5.0.0_rc1.tar.gz: No such file or directory
error: command 'rpmbuild' failed with exit status 1 |
So it looks as though it creates the tarball and puts it in SOURCES but then it ends up looking for it somewhere else.
????
Regards,
Gerry |
|
| Back to top |
|
 |
greno
Joined: 18 Aug 2007 Posts: 749
|
Posted: Sun Dec 07, 2008 8:04 pm Post subject: |
|
|
Ok, found a .rpmmacros file which seemed to be affecting things. So I removed that and we get this result:
| Code: | tar -cf dist/openerp-server-5.0.0-rc1.tar openerp-server-5.0.0-rc1
gzip -f9 dist/openerp-server-5.0.0-rc1.tar
removing 'openerp-server-5.0.0-rc1' (and everything under it)
copying dist/openerp-server-5.0.0-rc1.tar.gz -> build/bdist.linux-i686/rpm/SOURCES
building RPMs
rpmbuild -ba --define _topdir /home/greno/build/python-dist/openerp-server-5.0.0-rc1.1/build/bdist.linux-i686/rpm --clean build/bdist.linux-i686/rpm/SPECS/openerp-server.spec
error: File /home/greno/build/python-dist/openerp-server-5.0.0-rc1.1/build/bdist.linux-i686/rpm/SOURCES/openerp-server-5.0.0_rc1.tar.gz: No such file or directory
error: command 'rpmbuild' failed with exit status 1 |
So now you can see that distutils is now looking in the right directory. However it still cannot find the file. Why? Look close. It is looking for openerp-server-5.0.0_rc1.tar.gz. The tarball that it generated is named openerp-server-5.0.0-rc1.tar.gz. So where should we look to fix this?
Regards,
Gerry |
|
| Back to top |
|
 |
|