compile error: #error "Only <glib.h> can be included directly."

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So, I have been trying to get sylfilter to compile and execute (since I
could not find a rpm in the fedora 18 repos).

The source code is available at:

http://sylpheed.sraoss.jp/sylfilter/


Anyway, I configure in the following way:

./configure --with-libsylph=builtin --enable-sqlite=yes 

Then I run:

make
 
I get:

......
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I.. -I/usr/local/include -DG_LOG_DOMAIN=
\"SylFilter\" -DSYSCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=
\"/usr/local/share/locale\" -g -O2 -MT procmsg.lo -MD -MP
-MF .deps/procmsg.Tpo -c procmsg.c  -fPIC -DPIC -o .libs/procmsg.o In
file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0, from
defs.h:13, from procmsg.c:6: /usr/include/glib-2.0/glib/gmacros.h:32:2:
error: #error "Only <glib.h> can be included directly." make[2]: ***
[procmsg.lo] Error 1 make[2]: Leaving directory
`/home/maitra/Downloads/sylfilter-0.7/libsylph' make[1]: ***
[all-recursive] Error 1 make[1]: Leaving directory
`/home/maitra/Downloads/sylfilter-0.7' make: *** [all] Error 2



How do I get around this above error? I DuckDuckGo'ed for the above
error but did not find a satisfactory answer, expcept that I should
update the packages. But Fedora usually always have the most updated
packages.

Any suggestions on this?

Many thanks,
Ranjan

-- 
Important Notice: This mailbox is ignored: e-mails are set to be
deleted on receipt. For those needing to send personal or professional
e-mail, please use appropriate addresses.

____________________________________________________________
GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys
Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™ and most webmails


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux