- Description has changed:

Diff:

~~~~

--- old
+++ new
@@ -20,3 +20,13 @@
     automake: of the corresponding sources.
     automake: You are advised to start using 'subdir-objects' option 
throughout your
     automake: project, to avoid future incompatibilities.
+
+-------------------
+
+The option subdir-objects could possible be used to keep the old behaviour, 
but build fails with this error:
+
+    Makefile:687: 
../../../../../osaf/tools/safimm/src/.deps/osafamfd-immutil.Po: No such file or 
directory
+    Makefile:688: 
../../../../../osaf/tools/saflog/src/.deps/osafamfd-saflog.Po: No such file or 
directory
+    make[6]: *** No rule to make target 
`../../../../../osaf/tools/saflog/src/.deps/osafamfd-saflog.Po'.  Stop.
+
+We already build common code into libraries (in osaf/libs/common), so the best 
solution is probably do this for all common code instead of referencing source 
files located in other directories. Ideally, all these libraries should perhaps 
be moved into osaf/libs/common, but that could be a separate clean-up task.

~~~~




---

** [tickets:#901] build: Modernize autotools configuration**

**Status:** review
**Milestone:** 4.5.FC
**Created:** Mon May 12, 2014 01:35 PM UTC by Anders Widell
**Last Updated:** Mon Jun 09, 2014 03:19 PM UTC
**Owner:** Anders Widell

When running the bootstrap.sh script on a modern Linux distribution like Ubuntu 
14.04, several warnings are generated by the autotools. These warnings should 
be fixed so that our build system is forwards compatible with future versions 
of autotools.

automake 1.14.1 gives e.g. the following warning:

    configure.ac:25: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms 
are deprecated.  For more info, see:
    configure.ac:25: 
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation

-------------------

automake 1.14.1 also gives the following warning:

    java/ais_api_impl_native/Makefile.am:53: warning: source file 
'$(top_srcdir)/java/ais_api_impl_native/j_ais.c' is in a subdirectory,
    java/ais_api_impl_native/Makefile.am:53: but option 'subdir-objects' is 
disabled
    automake: warning: possible forward-incompatibility.
    automake: At least a source file is in a subdirectory, but the 
'subdir-objects'
    automake: automake option hasn't been enabled.  For now, the corresponding 
output
    automake: object file(s) will be placed in the top-level directory.  
However,
    automake: this behaviour will change in future Automake versions: they will
    automake: unconditionally cause object files to be placed in the same 
subdirectory
    automake: of the corresponding sources.
    automake: You are advised to start using 'subdir-objects' option throughout 
your
    automake: project, to avoid future incompatibilities.

-------------------

The option subdir-objects could possible be used to keep the old behaviour, but 
build fails with this error:

    Makefile:687: 
../../../../../osaf/tools/safimm/src/.deps/osafamfd-immutil.Po: No such file or 
directory
    Makefile:688: 
../../../../../osaf/tools/saflog/src/.deps/osafamfd-saflog.Po: No such file or 
directory
    make[6]: *** No rule to make target 
`../../../../../osaf/tools/saflog/src/.deps/osafamfd-saflog.Po'.  Stop.

We already build common code into libraries (in osaf/libs/common), so the best 
solution is probably do this for all common code instead of referencing source 
files located in other directories. Ideally, all these libraries should perhaps 
be moved into osaf/libs/common, but that could be a separate clean-up task.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to