After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 319379 - `make install' will do some compiling work
`make install' will do some compiling work
Status: RESOLVED OBSOLETE
Product: ORBit2
Classification: Deprecated
Component: general
2.12.x
Other All
: Low enhancement
: ---
Assigned To: ORBit maintainers
ORBit maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-21 09:00 UTC by nyvsld
Modified: 2016-07-15 11:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
minimal patch, update only `Makefile.am''s to use `Makefile.idlc' (175.63 KB, patch)
2005-10-31 16:10 UTC, nyvsld
none Details | Review
edited patch (22.42 KB, patch)
2006-08-07 10:38 UTC, Kjartan Maraas
none Details | Review
updated patch (20.12 KB, patch)
2006-08-07 10:50 UTC, Kjartan Maraas
none Details | Review
updated patch (18.13 KB, patch)
2007-11-19 10:10 UTC, Kjartan Maraas
none Details | Review

Description nyvsld 2005-10-21 09:00:04 UTC
Please describe the problem:
ORBit2.12.4
`make' is incomplete, after a `make', 
if issued `make install' , there are still many compilation to be done, 
`make install' will do a lot of compilation instead just install 

Steps to reproduce:
1. ./configure
2. make
3. make install 


Actual results:
`make install' does something should have been done by `make'

Expected results:
`make install' wont do what `make' should do.

Does this happen every time?
yes

Other information:
Comment 1 Michael Meeks 2005-10-21 10:00:39 UTC
Yes - it sucks, it's all to do with the generated IDL dependencies - which are
also a royal pain.
We need to fix that - but ... it's never seemed that important;

If you want to unwind it - you're most welcome - I'd accept a patch that moved
all the IDL compilation into a single directory that could be processed early;
and that then installed the resulting objects into suitable places.

Thanks for the report though.
Comment 2 nyvsld 2005-10-31 16:10:09 UTC
Created attachment 54142 [details] [review]
minimal patch, update only `Makefile.am''s to use `Makefile.idlc'

here is a include makefile used to compile idl files. named `Makefile.idlc'

changes are made to `Makefile.am''s to use it, 
it uses timestamp to solve those dependencies, when compile idl files, 
it firstly use IDL_COMPILER to compile idl to c source files, called
`idl-cstamp'
then text conversion are done, called `idl-pcstamp'

it introduces 3 new dependencies, which are

  foo.h foo-common.c: foo.idl-pcstamp
  foo.idl-pcstamp:    foo.idl-cstamp
  foo.idl-cstamp:     foo.idl $(IDL_COMPILER)

`BUILT_SOURCES' is not neccessary, except if for example `foo.h' is included by
some other sourcefiles, like in what happened in `test/' dir.

usage:
  cd ORBit2-2.12.4
  gzip -cd < full-patch-ORBit2-2.12.4.gz | patch -p1
  ./configure
  make
  make check
Comment 3 Kjartan Maraas 2006-07-24 13:40:41 UTC
Please exclude all the generated files when running diff, then the patch will be small enough that you can attach it here in plain text which also makes it easier to review the patch.

Makefile, Makefile.in, *.m4, configure and probably some others should be dropped.
Comment 4 Kjartan Maraas 2006-08-07 10:38:11 UTC
Created attachment 70369 [details] [review]
edited patch

I edited the patch to remove the generated files so the patch is small enough to review.
Comment 5 Kjartan Maraas 2006-08-07 10:50:40 UTC
Created attachment 70370 [details] [review]
updated patch

Now it applies without rejects too.
Comment 6 Michael Meeks 2006-08-07 10:58:52 UTC
The patch scares me. We had a hellish time making it do parallel builds at all [ then again apparently they're broken too ]. Maciej created the original shared Makefile.

/me throws up hands in horror. If this chap is confident & responsive, and it works for you, from clean & incrementally with parallel building too - then I'm happy for it to go in :-)
Comment 7 Kjartan Maraas 2007-11-19 10:09:49 UTC
Sorry for letting this hang so long. I only now found out that Makefile.idlc is missing from the patch. Any chance you could update the patch against the current source? I'm attaching an udpated patch here in case that makes it easier for you.
Comment 8 Kjartan Maraas 2007-11-19 10:10:40 UTC
Created attachment 99324 [details] [review]
updated patch
Comment 9 Michael Meeks 2008-08-28 13:24:09 UTC
Looks nice to me - if it passes make distcheck - I'm a happy man :-) please do commit.
Comment 10 Kjartan Maraas 2016-07-15 11:17:06 UTC
Closing as obsolete.