Issue 1627 - dmake does not build on linux in OO
Summary: dmake does not build on linux in OO
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: current
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: sander_traveling
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-06 04:52 UTC by Unknown
Modified: 2003-03-24 08:49 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2001-09-06 04:52:04 UTC
I am running the latest OO source from CVS. I do all config_office
stuff. Then I go to SRC_ROOT and do ./bootstrap. I get:

   ...
   creating dmakeroot.h
   cd . && aclocal
   aclocal: couldn't open `aclocal.m4' for writing: Permission denied
   make: *** [aclocal.m4] Error 13
   cd . && aclocal
   aclocal: couldn't open `aclocal.m4' for writing: Permission denied
   make: *** [aclocal.m4] Error 13
   cp: /storage/files/office/dmake/dmake: No such file or directory
   dmake: Command not found.             

I look at the linux section of bootstrap and see that for building dmake
the following is done:

   autogen.sh;configure;make;make install

So I go to the dmake directory. I notice that the permissions on aclocal.m4
are:

   -r-xr-xr-x   1 forsberg users        3743 May  4 10:47 aclocal.m4

PROBLEM #1 aclocal.m4 should be stored in CVS with write permissions. When
I execute autogen.sh and configure in the dmake directory no problems. 
I type make and:

   office/dmake> make
   cd . && aclocal
   aclocal: couldn't open `aclocal.m4' for writing: Permission denied
   make: *** [aclocal.m4] Error 13     

I change persmissions on aclocal.m4 to give me write permissions and:

   office/dmake> make
   cd . && aclocal
   cd . && automake --gnu Makefile
   automake: Makefile.am: required file `./README' not found
   make: *** [Makefile.in] Error 1   

PROBLEM #2 automake seems to require a README file. Please add a README file
to the dmake
directory.
Comment 1 Unknown 2001-09-14 20:00:10 UTC
Sander, 

can you confirm problems in bootstrapping with a non-existing README 
file? 

armin
Comment 2 Martin Hollmichel 2001-10-02 13:29:04 UTC
Sander, whats the mechanism of bootstrap right now, using autoconf or
using the sh command.

1. aclocal.mh has to make writable by bootstrap ? script. It's not
possible to garuntee writable files after checkout with cvs.

2. the --gnu switch of automake requires README file, but my
understanding is that no --gnu is required.
Comment 3 sander_traveling 2001-10-13 14:40:16 UTC
The present boostartsp still uses the sh script for now (i don't want
to totally crush the change that somebody might build it on solaris).
So it seems like a cvs checkout of HEAD instead of a known branch tag.
Comment 4 Martin Hollmichel 2001-10-16 13:17:18 UTC
dmake/autogen.sh rev. 1.2 fixes this
Comment 5 sander_traveling 2001-11-12 22:11:49 UTC
fixed so closing
Comment 6 michael.bemmer 2003-03-24 08:36:04 UTC
As agreed on I will close these resolved fixed issues now. If you have trouble
with that, please re-open the issue.
Comment 7 michael.bemmer 2003-03-24 08:49:39 UTC
As agreed on I will close these resolved fixed issues now. If you have trouble
with that, please re-open the issue.