[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ladcca] 0.4.0 build errors on Linux
From: |
errandir |
Subject: |
[ladcca] 0.4.0 build errors on Linux |
Date: |
Sun, 16 Nov 2003 00:09:34 +0000 |
User-agent: |
Mutt/1.5.4i |
Hi,
I build ladcca-0.4.0 today, but ran into some problems. 1 and 3
are fixed by the patches attached.
1) configure gave this error:
...
LADCCA configured
readline support: no (ladcca-control will not be built)
gtk 2 support: yes
...
GTK_LIBS: -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule
-lglib -ldl -lXi -lXext -lX11 -lm
./configure: line 11442: test: too many arguments
Default project store: audio-projects
...
I did not have readline support so ladcca_readline was set to "no (...)",
which causes the test to crash on the spaces.
2) I got build errors on the use of the -std=gnu99 option to gcc.
My gcc:
Reading specs from /usr/lib/gcc-lib/powerpc-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
To solve it I removed the option from the makefiles. Seemed to build
okay after that, but I do not know what this option does.
3) Got a trivial build error on project.c. See patch.
After this it builds and works ok.
Hope this helps. Any advice on 2?
Martin
--- ladccad/project.c.040 2003-11-15 23:41:28.000000000 +0000
+++ ladccad/project.c 2003-11-15 23:32:04.000000000 +0000
@@ -762,6 +762,7 @@
{
xmlNodePtr projectnode, xmlnode;
xmlChar * content;
+ project_t * project;
for (projectnode = doc->children; projectnode; projectnode =
projectnode->next)
if (projectnode->type == XML_ELEMENT_NODE && strcmp (CAST_BAD
projectnode->name, "ladcca_project") == 0)
@@ -773,7 +774,6 @@
return NULL;
}
- project_t * project;
project = project_new (server);
for (xmlnode = projectnode->children; xmlnode; xmlnode = xmlnode->next)
--- configure.040 2003-11-15 23:53:19.000000000 +0000
+++ configure 2003-11-15 23:21:53.000000000 +0000
@@ -11442,7 +11442,7 @@
echo "$as_me:$LINENO: result: GTK_LIBS: $GTK_LIBS " >&5
echo "${ECHO_T} GTK_LIBS: $GTK_LIBS " >&6
fi
-if test x$ladcca_readline = xyes; then
+if test "x$ladcca_readline" = "xyes"; then
echo "$as_me:$LINENO: result: READLINE_LIBS: $READLINE_LIBS" >&5
echo "${ECHO_T} READLINE_LIBS: $READLINE_LIBS" >&6
fi
- [ladcca] 0.4.0 build errors on Linux,
errandir <=