Opened 9 years ago

Closed 9 years ago

#34324 closed defect (duplicate)

tightvnc: configure failure: error: empty character constant

Reported by: lonnieellis@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: lion Cc:
Port: tightvnc

Description (last modified by ryandesign (Ryan Schmidt))

When I try to install tightvnc I get the following:

--->  Configuring tightvnc
DEBUG: Using compiler 'Mac OS X clang'
DEBUG: Executing org.macports.configure (tightvnc)
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tightvnc/tightvnc/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' GI_SCANNER_DISABLE_CACHE='1'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tightvnc/tightvnc/work/vnc_unixsrc" && xmkmf'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tightvnc/tightvnc/work/vnc_unixsrc" && xmkmf 
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/opt/local/lib/X11/config
In file included from Imakefile.c:15:
In file included from /opt/local/lib/X11/config/Imake.tmpl:316:
/opt/local/lib/X11/config/Imake.rules:1674:27: error: empty character constant
        for flag in ${MAKEFLAGS} ''; do \                               @@\
In file included from Imakefile.c:15:
/opt/local/lib/X11/config/Imake.tmpl:2144:10: fatal error: ' X11 .rules' file not found
#include ProjectRulesFile
/opt/local/lib/X11/config/Imake.tmpl:2142:35: note: expanded from macro 'ProjectRulesFile'
# define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)
/opt/local/lib/X11/config/Imake.rules:256:23: note: expanded from macro 'Concat3'
#define Concat3(a,b,c)a/**/b/**/c
2 errors generated.
imake: Exit code 1.
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tightvnc/tightvnc/work/vnc_unixsrc" && xmkmf " returned error 1
Error: Target org.macports.configure returned: xmkmf failure: shell command failed (see log for details)
DEBUG: Backtrace: xmkmf failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
Warning: the following items did not execute (for tightvnc): org.macports.activate org.macports.configure org.macports.destroot org.macports.install
Log for tightvnc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_tightvnc/tightvnc/main.log
Error: Status 1 encountered during processing.
To report a bug, see <>

Change History (3)

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Keywords: lion added
Port: tightvnc added
Summary: Unable to install TIGHT VNC OSX Lion 10.7.3 and 2.0.4tightvnc: configure failure: error: empty character constant

We've seen that error before in other ports; I believe we found a solution; search the issue tracker...

comment:2 Changed 9 years ago by lonnieellis@…

I am still getting this error and I am unable to find a specific fix. Please advise. I've uninstalled XCode and reinstalled XCode, I've also uninstalled and reinstalled macports.

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.