[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-pkg-config
Subject: Errors building 0.25
From: "John C. Turnbull" <ozemale () ozemail ! com ! au>
Date: 2011-08-26 11:47:10
Message-ID: 007e01cc63e5$e4114760$ac33d620$ () com ! au
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I initially tried building 0.26 but read online that there were problems
with dependencies so I am trying 0.25 instead. The build environment is
MSYS on Windows 7 64-bit.
I successfully rang configure but now get the following errors when running
make:
gcc -DHAVE_CONFIG_H -I.
-DPKG_CONFIG_PC_PATH="\"/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:
/usr/lib/pkgconfig:
/usr/share/pkgconfig\"" -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I./popt -g -Wall -O2 -g -O2
-MT pkg.o -MD -MP -MF .deps/pkg.Tpo -c -o pkg.o pkg.c
In file included from pkg.h:26,
from pkg.c:25:
glib-1.2.10/glib.h:66:24: glibconfig.h: No such file or directory
In file included from pkg.h:26,
from pkg.c:25:
glib-1.2.10/glib.h:502: error: syntax error before "gssize"
glib-1.2.10/glib.h:502: warning: type defaults to `int' in declaration of
`gssize'
glib-1.2.10/glib.h:502: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:503: error: syntax error before "gsize"
glib-1.2.10/glib.h:503: warning: type defaults to `int' in declaration of
`gsize'
glib-1.2.10/glib.h:503: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:504: error: syntax error before "GQuark"
glib-1.2.10/glib.h:504: warning: type defaults to `int' in declaration of
`GQuark'
glib-1.2.10/glib.h:504: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:505: error: syntax error before "GTime"
glib-1.2.10/glib.h:505: warning: type defaults to `int' in declaration of
`GTime'
glib-1.2.10/glib.h:505: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:769: error: syntax error before "key_id"
glib-1.2.10/glib.h:840: error: syntax error before "guint8"
glib-1.2.10/glib.h:840: warning: no semicolon at end of struct or union
glib-1.2.10/glib.h:842: error: syntax error before '}' token
glib-1.2.10/glib.h:1573: error: syntax error before "mask"
glib-1.2.10/glib.h:1591: error: syntax error before "mask"
glib-1.2.10/glib.h:1737: warning: type defaults to `int' in declaration of
`guint8'
glib-1.2.10/glib.h:1737: error: syntax error before '*' token
glib-1.2.10/glib.h:1740: warning: type defaults to `int' in declaration of
`guint8'
glib-1.2.10/glib.h:1740: error: syntax error before '*' token
glib-1.2.10/glib.h:1773: error: syntax error before "g_quark_try_string"
glib-1.2.10/glib.h:1773: warning: type defaults to `int' in declaration of
`g_quark_try_string'
glib-1.2.10/glib.h:1773: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:1774: error: syntax error before
"g_quark_from_static_string"
glib-1.2.10/glib.h:1774: warning: type defaults to `int' in declaration of
`g_quark_from_static_string'
glib-1.2.10/glib.h:1774: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:1775: error: syntax error before "g_quark_from_string"
glib-1.2.10/glib.h:1775: warning: type defaults to `int' in declaration of
`g_quark_from_string'
glib-1.2.10/glib.h:1775: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:1776: error: syntax error before "quark"
glib-1.2.10/glib.h:1785: error: syntax error before "GQuark"
glib-1.2.10/glib.h:1787: error: syntax error before "GQuark"
glib-1.2.10/glib.h:1791: error: syntax error before "GQuark"
glib-1.2.10/glib.h:1816: error: syntax error before "GQuark"
glib-1.2.10/glib.h:1818: error: syntax error before "GQuark"
glib-1.2.10/glib.h:1822: error: syntax error before "GQuark"
glib-1.2.10/glib.h:2094: error: syntax error before "GDateYear"
glib-1.2.10/glib.h:2094: warning: type defaults to `int' in declaration of
`GDateYear'
glib-1.2.10/glib.h:2094: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:2095: error: syntax error before "GDateDay"
glib-1.2.10/glib.h:2095: warning: type defaults to `int' in declaration of
`GDateDay'
glib-1.2.10/glib.h:2095: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:2168: error: syntax error before "day"
glib-1.2.10/glib.h:2171: error: syntax error before "julian_day"
glib-1.2.10/glib.h:2180: error: syntax error before "day"
glib-1.2.10/glib.h:2182: error: syntax error before "year"
glib-1.2.10/glib.h:2184: error: syntax error before "julian_date"
glib-1.2.10/glib.h:2185: error: syntax error before "day"
glib-1.2.10/glib.h:2191: error: syntax error before "g_date_year"
glib-1.2.10/glib.h:2191: warning: type defaults to `int' in declaration of
`g_date_year'
glib-1.2.10/glib.h:2191: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:2192: error: syntax error before "g_date_day"
glib-1.2.10/glib.h:2192: warning: type defaults to `int' in declaration of
`g_date_day'
glib-1.2.10/glib.h:2192: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:2193: error: syntax error before "g_date_julian"
glib-1.2.10/glib.h:2193: warning: type defaults to `int' in declaration of
`g_date_julian'
glib-1.2.10/glib.h:2193: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:2219: error: syntax error before "GTime"
glib-1.2.10/glib.h:2223: error: syntax error before "GDateDay"
glib-1.2.10/glib.h:2225: error: syntax error before "GDateYear"
glib-1.2.10/glib.h:2227: error: syntax error before "GDateDay"
glib-1.2.10/glib.h:2231: error: syntax error before "guint32"
glib-1.2.10/glib.h:2252: error: syntax error before "year"
glib-1.2.10/glib.h:2253: error: syntax error before "g_date_days_in_month"
glib-1.2.10/glib.h:2254: error: syntax error before "GDateYear"
glib-1.2.10/glib.h:2254: warning: type defaults to `int' in declaration of
`g_date_days_in_month'
glib-1.2.10/glib.h:2254: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:2255: error: syntax error before
"g_date_monday_weeks_in_year"
glib-1.2.10/glib.h:2255: error: syntax error before "year"
glib-1.2.10/glib.h:2255: warning: type defaults to `int' in declaration of
`g_date_monday_weeks_in_year'
glib-1.2.10/glib.h:2255: warning: data definition has no type or storage
class
glib-1.2.10/glib.h:2256: error: syntax error before
"g_date_sunday_weeks_in_year"
glib-1.2.10/glib.h:2256: error: syntax error before "year"
glib-1.2.10/glib.h:2256: warning: type defaults to `int' in declaration of
`g_date_sunday_weeks_in_year'
...and several more.
It clearly can't find glibconfig.h
How can I get this to build?
Thanks,
-jct
[Attachment #5 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div \
class=WordSection1><p class=MsoNormal>I initially tried building 0.26 but read online \
that there were problems with dependencies so I am trying 0.25 instead. The \
build environment is MSYS on Windows 7 64-bit.<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I successfully rang configure \
but now get the following errors when running make:<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>gcc -DHAVE_CONFIG_H -I. \
-DPKG_CONFIG_PC_PATH="\"/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig: \
/usr/lib/pkgconfig: & \
nbsp; &nb \
sp;   \
; & \
nbsp; \
&n \
bsp; &nbs \
p; /usr/share/pkgconfig\"" \
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I./popt \
-g -Wall -O2 -g -O2 & \
nbsp; &nb \
sp;   \
; & \
nbsp; &nb \
sp; \
&n \
bsp; -MT \
pkg.o -MD -MP -MF .deps/pkg.Tpo -c -o pkg.o pkg.c<o:p></o:p></p><p class=MsoNormal>In \
file included from pkg.h:26,<o:p></o:p></p><p \
class=MsoNormal> \
from pkg.c:25:<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:66:24: \
glibconfig.h: No such file or directory<o:p></o:p></p><p class=MsoNormal>In file \
included from pkg.h:26,<o:p></o:p></p><p \
class=MsoNormal> \
from pkg.c:25:<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:502: error: syntax error before \
"gssize"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:502: warning: \
type defaults to `int' in declaration of `gssize'<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:502: warning: data definition has no type or \
storage class<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:503: error: syntax \
error before "gsize"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:503: warning: type defaults to `int' in \
declaration of `gsize'<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:503: \
warning: data definition has no type or storage class<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:504: error: syntax error before \
"GQuark"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:504: warning: \
type defaults to `int' in declaration of `GQuark'<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:504: warning: data definition has no type or \
storage class<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:505: error: syntax \
error before "GTime"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:505: warning: type defaults to `int' in \
declaration of `GTime'<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:505: \
warning: data definition has no type or storage class<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:769: error: syntax error before \
"key_id"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:840: error: \
syntax error before "guint8"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:840: warning: no semicolon at end of struct or \
union<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:842: error: syntax error \
before '}' token<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:1573: error: \
syntax error before "mask"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1591: error: syntax error before \
"mask"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:1737: warning: \
type defaults to `int' in declaration of `guint8'<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1737: error: syntax error before '*' \
token<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:1740: warning: type \
defaults to `int' in declaration of `guint8'<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1740: error: syntax error before '*' \
token<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:1773: error: syntax error \
before "g_quark_try_string"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1773: warning: type defaults to `int' in \
declaration of `g_quark_try_string'<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1773: warning: data definition has no type or \
storage class<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:1774: error: syntax \
error before "g_quark_from_static_string"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1774: warning: type defaults to `int' in \
declaration of `g_quark_from_static_string'<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1774: warning: data definition has no type or \
storage class<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:1775: error: syntax \
error before "g_quark_from_string"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1775: warning: type defaults to `int' in \
declaration of `g_quark_from_string'<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1775: warning: data definition has no type or \
storage class<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:1776: error: syntax \
error before "quark"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1785: error: syntax error before \
"GQuark"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:1787: error: \
syntax error before "GQuark"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1791: error: syntax error before \
"GQuark"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:1816: error: \
syntax error before "GQuark"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:1818: error: syntax error before \
"GQuark"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:1822: error: \
syntax error before "GQuark"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2094: error: syntax error before \
"GDateYear"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2094: \
warning: type defaults to `int' in declaration of `GDateYear'<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2094: warning: data definition has no type or \
storage class<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2095: error: syntax \
error before "GDateDay"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2095: warning: type defaults to `int' in \
declaration of `GDateDay'<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2095: \
warning: data definition has no type or storage class<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2168: error: syntax error before \
"day"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2171: error: \
syntax error before "julian_day"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2180: error: syntax error before \
"day"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2182: error: \
syntax error before "year"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2184: error: syntax error before \
"julian_date"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2185: \
error: syntax error before "day"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2191: error: syntax error before \
"g_date_year"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2191: \
warning: type defaults to `int' in declaration of `g_date_year'<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2191: warning: data definition has no type or \
storage class<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2192: error: syntax \
error before "g_date_day"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2192: warning: type defaults to `int' in \
declaration of `g_date_day'<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2192: \
warning: data definition has no type or storage class<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2193: error: syntax error before \
"g_date_julian"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2193: \
warning: type defaults to `int' in declaration of `g_date_julian'<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2193: warning: data definition has no type or \
storage class<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2219: error: syntax \
error before "GTime"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2223: error: syntax error before \
"GDateDay"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2225: error: \
syntax error before "GDateYear"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2227: error: syntax error before \
"GDateDay"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2231: error: \
syntax error before "guint32"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2252: error: syntax error before \
"year"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2253: error: \
syntax error before "g_date_days_in_month"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2254: error: syntax error before \
"GDateYear"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2254: \
warning: type defaults to `int' in declaration of \
`g_date_days_in_month'<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2254: \
warning: data definition has no type or storage class<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2255: error: syntax error before \
"g_date_monday_weeks_in_year"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2255: error: syntax error before \
"year"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2255: warning: \
type defaults to `int' in declaration of \
`g_date_monday_weeks_in_year'<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2255: warning: data definition has no type or \
storage class<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2256: error: syntax \
error before "g_date_sunday_weeks_in_year"<o:p></o:p></p><p \
class=MsoNormal>glib-1.2.10/glib.h:2256: error: syntax error before \
"year"<o:p></o:p></p><p class=MsoNormal>glib-1.2.10/glib.h:2256: warning: \
type defaults to `int' in declaration of \
`g_date_sunday_weeks_in_year'<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>...and several \
more.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It \
clearly can't find glibconfig.h<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>How can I get this to \
build?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>-jct<o:p></o:p></p></div></body></html>
_______________________________________________
pkg-config mailing list
pkg-config@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pkg-config
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic