Bug 40373

Summary: /usr/ports/graphics/dia does not compile
Product: Ports & Packages Reporter: Tomas Klockar <klockar>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Tomas Klockar 2002-07-09 09:20:04 UTC
The dia port does not compile, below is the output when I trried to compile.

Configuration:
        Source code location:   .
        Compiler:               cc

        Libart (AA rendering, png export):      yes

        Gnome support:                          no
        Build bonobo component (not supported): no
        Gnome-print support (not recommended):  no

        Python support:                         no
        (LIMITED) Freetype support:             no

Unicode not present. This will NOT build.
Now type make to build dia.
===>  Building for dia-0.90
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/graphics/dia/work/dia-0.90'
Making all in lib
gmake[2]: Entering directory `/usr/ports/graphics/dia/work/dia-0.90/lib'
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl  -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include   -I/usr/local/include/gnome-xml  -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -DDIA_SHEETDIR=\"/usr/X11R6/share/gnome/dia/sheets\"    -I/usr/X11R6/include/gnome-1.0   -I/usr/X11R6/include/gnome-1.0      -DLIBDIR=\"/usr/X11R6/lib\"     -DDATADIR=\"/usr/X11R6/share/gnome/dia\"  -I/usr/local/include/gnome-xml -O -pipe   -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations -finline-functions -fstrict-aliasing -c diagramdata.c
In file included from font.h:24,
                 from render.h:27,
                 from object.h:31,
                 from diagramdata.h:26,
                 from diagramdata.c:26:
charconv.h:149: unicode.h: No such file or directory
In file included from font.h:24,
                 from render.h:27,
                 from object.h:31,
                 from diagramdata.h:26,
                 from diagramdata.c:26:
charconv.h:150: syntax error before `unichar'
charconv.h:150: warning: type defaults to `int' in declaration of `unichar'
charconv.h:150: warning: data definition has no type or storage class
charconv.h:192: syntax error before `charconv_utf8_get_char'
charconv.h:192: warning: type defaults to `int' in declaration of `charconv_utf8_get_char'
charconv.h:192: warning: data definition has no type or storage class
gmake[2]: *** [diagramdata.o] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/dia/work/dia-0.90/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/dia/work/dia-0.90'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/graphics/dia.

Fix: 

Unknown
How-To-Repeat: 
I compiled right from the newest ports tree. I even did a cvsup ports-supfile before I send this report.
So try compiling it from the newest portstree.
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-07-10 15:55:33 UTC
Responsible Changed
From-To: freebsd-ports->gnome

over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2002-07-11 03:47:09 UTC
State Changed
From-To: open->closed

This looks to be a problem with your libunicode port installation.  Please 
try reinstalling the libunicode port (currently libunicode-0.4_3), and try 
to reinstall dia.  It does work.