Ticket #34503 (closed defect: worksforme)
magicpoint: error: empty character constant
| Reported by: | peter@… | Owned by: | fenner@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.0 |
| Keywords: | Cc: | ryandesign@… | |
| Port: | magicpoint |
Description
Magicpoint fails during configuration, on running imake. Output included below.
-peter
be sure to generate Makefile from Imakefile, by xmkmf and make Makefiles
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.
Stop.
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_magicpoint/magicpoint/work/magicpoint-1.10a" && xmkmf && make Makefiles
Exit code: 1
Error: org.macports.configure for port magicpoint returned: command execution failed
Warning: targets not executed for magicpoint: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Please see the log file for port magicpoint for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_magicpoint/magicpoint/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port magic point failed
Attachments
Change History
comment:3 Changed 12 months ago by ryandesign@…
- Cc ryandesign@… added
- Summary changed from magicpoint @1.10a build failure - Configure error to magicpoint: fatal error: ' X11 .rules' file not found
It builds fine for me, but I'm on Snow Leopard with Xcode 3. Please "sudo port clean magicpoint" and try again, and if it fails again, attach the main.log file, and let us know your OS version and Xcode version.
comment:4 Changed 12 months ago by ryandesign@…
- Summary changed from magicpoint: fatal error: ' X11 .rules' file not found to magicpoint: error: empty character constant
comment:5 Changed 12 months ago by ryandesign@…
- Status changed from new to closed
- Resolution set to worksforme
Peter sent the following reply by email:
I've got OS X 10.7.4 with Xcode 4.3.3 now; was 4.3.2 at the time of reporting. It gets a lot further now, but still fails, now during the build process.
The new log shows the same error as #34972. So the problem in this ticket cannot be reproduced.
Note: See
TracTickets for help on using
tickets.

