Skip to contentSkip to conversation

ltp buildsystem bugreport

LTP Cyril Hrubis 1 participant 3 messages Aug 2, 2010 – Aug 5, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi!
I was trying to find a cause for very cryptic make errors and found that I have colon somewhere in a path to the directory I was trying to compile ltp in. Further examination showed that make is trying to interpret all rules like:

$(top_builddir)/include/mk/config.mk:

	...

But found one more colon in $(top_builddir) and gets badly confused.

Also space, semicolon and may be others does the same job, so we should either escape all top_builddir, abs_builddir, SUBDIRS, ... variables or get rid of rules that contains them.

Signature · 12 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#2 lore raw
In reply to a message not in the archive

Hi!

Quoted 3 lines

"Don't expect a project that uses Makefiles to function properly with paths that have colons, spaces, etc to function properly". Keep things as simple as possible and you won't have issues with building LTP :).

Okay, at least add this into the INSTALL file so that other people doesn't get confused as I did.

And now I need to figure out workaround for our friendly buildservice that creates paths with colons by default...

Signature · 12 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#3 lore raw

Hi!

Quoted 7 lines
Quoted 3 lines

"Don't expect a project that uses Makefiles to function properly with paths that have colons, spaces, etc to function properly". Keep things as simple as possible and you won't have issues with building LTP :).

Okay, at least add this into the INSTALL file so that other people doesn't get confused as I did.

Here is a patch for that, hope you don't mind I've quoted your mail reply in it :).

Hmm and there is still Rishkesh K Rajak as main LTP maintainer in README.

And CREDITS file seems to be pretty old too.

Signature · 2 lines
Cyril Hrubis
[email protected]
INSTALL +6 -0
Index: ltp-dev-local/INSTALL
===================================================================
@@ -65,6 +65,12 @@ what to do next...
 Compiling LTP
 -------------------
 
+Prerequisites
+-------------------
+Don't expect LTP to build properly with paths that have colons, spaces,
+semicolons and other strange characters in. Keep things as simple as possible
+and you won't have issues with building LTP :).
+
 In-build-tree
 -------------------
 In-build-tree support is when you build binaries (applications, binary objects)

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list