[MOD] STR #4090: error while compiling

??ngel Momp?? <[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

I'm trying to compile the las version of cups and i get an error: 

/home/.../cups-1.6svn-r10486/install-sh: 67:
/home/.../cups-1.6svn-r10486/install-sh: Syntax error: "}" unexpected

I attach all the install output

Link: http://www.cups.org/str.php?L4090
Version: 1.6-current

_______________________________________________
cups-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/cups-bugs
install_error.txt (text/plain, 3.8 KB)
mecatxis@mecatxis:~/catux/traduccio/cups/cups-1.6svn-r10486$ make install
Making all in cups...
Compiling adminutil.c...
Compiling array.c...
Compiling attr.c...
Compiling auth.c...
auth.c: In function ‘cups_local_auth’:
auth.c:858:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
auth.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
Compiling backchannel.c...
Compiling backend.c...
Compiling conflicts.c...
Compiling custom.c...
Compiling debug.c...
Compiling dest.c...
dest.c: In function ‘cups_dnssd_browse_cb’:
dest.c:2682:17: warning: unused variable ‘client’ [-Wunused-variable]
dest.c: In function ‘cups_dnssd_query_cb’:
dest.c:3067:17: warning: unused variable ‘client’ [-Wunused-variable]
dest.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
Compiling dest-job.c...
Compiling dest-localization.c...
Compiling dest-options.c...
Compiling dir.c...
Compiling emit.c...
Compiling encode.c...
Compiling file.c...
file.c: In function ‘cupsFileOpen’:
file.c:1128:13: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result]
file.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
Compiling getdevices.c...
Compiling getifaddrs.c...
Compiling getputfile.c...
getputfile.c: In function ‘cupsGetFd’:
getputfile.c:167:12: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
getputfile.c: At top level:
cc1: warning: unrecognized command line option "-Wno-tautological-compare" [enabled by default]
Compiling globals.c...
Compiling http.c...
Compiling http-addr.c...
Compiling http-addrlist.c...
Compiling http-support.c...
Compiling ipp.c...
Compiling ipp-support.c...
Compiling langprintf.c...
Compiling language.c...
Compiling localize.c...
Compiling mark.c...
Compiling md5.c...
Compiling md5passwd.c...
Compiling notify.c...
Compiling options.c...
Compiling page.c...
Compiling ppd.c...
Compiling ppd-cache.c...
Compiling pwg-media.c...
Compiling request.c...
Compiling sidechannel.c...
Compiling snmp.c...
Compiling snprintf.c...
Compiling string.c...
Compiling tempfile.c...
Compiling thread.c...
Compiling transcode.c...
Compiling usersys.c...
Compiling util.c...
Archiving libcups.a...
a - adminutil.o
a - array.o
a - attr.o
a - auth.o
a - backchannel.o
a - backend.o
a - conflicts.o
a - custom.o
a - debug.o
a - dest.o
a - dest-job.o
a - dest-localization.o
a - dest-options.o
a - dir.o
a - emit.o
a - encode.o
a - file.o
a - getdevices.o
a - getifaddrs.o
a - getputfile.o
a - globals.o
a - http.o
a - http-addr.o
a - http-addrlist.o
a - http-support.o
a - ipp.o
a - ipp-support.o
a - langprintf.o
a - language.o
a - localize.o
a - mark.o
a - md5.o
a - md5passwd.o
a - notify.o
a - options.o
a - page.o
a - ppd.o
a - ppd-cache.o
a - pwg-media.o
a - request.o
a - sidechannel.o
a - snmp.o
a - snprintf.o
a - string.o
a - tempfile.o
a - thread.o
a - transcode.o
a - usersys.o
a - util.o
Linking libcups.so.2...
Installing data files in cups...
Installing data files in test...
Installing sample ipptool files in /home/mecatxis/compilats/cups/share/cups/ipptool...
/home/mecatxis/catux/traduccio/cups/cups-1.6svn-r10486/install-sh: 64: /home/mecatxis/catux/traduccio/cups/cups-1.6svn-r10486/install-sh: function: not found
/home/mecatxis/catux/traduccio/cups/cups-1.6svn-r10486/install-sh: 66: /home/mecatxis/catux/traduccio/cups/cups-1.6svn-r10486/install-sh: cannot open -d: No such file
/home/mecatxis/catux/traduccio/cups/cups-1.6svn-r10486/install-sh: 67: /home/mecatxis/catux/traduccio/cups/cups-1.6svn-r10486/install-sh: Syntax error: "}" unexpected
make[1]: *** [install-data] Error 2
make: *** [install-data] Error 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.