Closed chufall closed 10 years ago
The script "configure" is auto-generated by autotools (autoconf/automake etc.). This happens when you run make -f Makefile.am
So:
=> Fix autotools, then run make -f Makefile.am again.
BTW: knowing bash syntax should help: "fi" is the the closing counterpart of "if" just like "esac" is to "case"...
Also: RPMs for Centos 6 can be found via this page: http://freerdp.net/download.html
The build process changed quite a bit since this issue was opened.
Please reopen this issue if you still experience compilation problems.
I have download the code, and compile the source code as README.
But when running the configure, it has given the following error:
checking for png_read_info in -lpng... yes ./configure: line 24179: syntax error near unexpected token
fi' ./configure: line 24179:
fi'and I found the line 24179, it like this:
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: fi
$as_echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
I don't know the "fi" is correct?
if I remove the "fi", and run the configure continuely, and the following error:
checking for png_read_info in -lpng... yes ./configure: line 24221: syntax error near unexpected token
)' ./configure: line 24221:
,,-lz -lm)'and the code is : ...... if test "x$ac_cv_header_png_h" = x""yes; then png_ok=yes fi
,,-lz -lm; ) if test "$png_ok" = yes; then .....
So if I remove the ",,-lz -lm; )" , which give me the last error:
checking for png_read_info in -lpng... yes ./configure: line 30034: syntax error: unexpected end of file
Now I cannot fix it
Please do me a favour to fix it
My platform is Centos 6.2, and freerdp and any requires are installed .
thank you very much
Chu