Re: [gnome-db] odd error when building libgda



Found the problem:
flex can't take the space between the -o and the file name. When I removed the space (from Makefile.am), it ran correctly. I notice that there is no space in the sql-transaction directory, so I expect this is a good solution.

I have attached a (trivial) patch to fix this.

Mark

Mark Johnson wrote:
Here is where the build process ends:
make[3]: Entering directory `/mnt/raid/download/computer/software/gnome/libgda/svn/trunk/libgda/sql-delimiter'
flex -o lexer.c -Pgda_delimiter lexer.l
flex: can't open lexer.c
make[3]: *** [lexer.c] Error 1
make[3]: Leaving directory `/mnt/raid/download/computer/software/gnome/libgda/svn/trunk/libgda/sql-delimiter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/raid/download/computer/software/gnome/libgda/svn/trunk/libgda/sql-delimiter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/raid/download/computer/software/gnome/libgda/svn/trunk/libgda'
make: *** [all-recursive] Error 1
make failed


I have verified that I can create files in that directory. Security was the only thing I thought of that could have prevented flex from creating the file.

Any ideas?

Mark

_______________________________________________
gnome-db-list mailing list
gnome-db-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-db-list

--- trunk/libgda/sql-delimiter/Makefile.am	2007-03-16 00:21:47.000000000 -0600
+++ trunk.patch/libgda/sql-delimiter/Makefile.am	2007-03-18 19:25:11.000000000 -0600
@@ -12,7 +12,7 @@
 	$(YACC) -v -d -o $@ -p gda_delimiter $<
 
 lexer.c: lexer.l parser.c
-	$(LEX) -o $@ -Pgda_delimiter $<
+	$(LEX) -o$@ -Pgda_delimiter $<
 
 libgda_sql_delimiter_headers = \
         gda-sql-delimiter.h 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]