[Kget] [Bug 243950] kdenetwork 4.4.5 fails to build
Angel Tsankov
bigman at abv.bg
Mon Jul 12 15:36:25 CEST 2010
https://bugs.kde.org/show_bug.cgi?id=243950
--- Comment #7 from Angel Tsankov <bigman abv bg> 2010-07-12 15:36:23 ---
(In reply to comment #6)
> (In reply to comment #5)
> > Can you try changing in btsettingswidget.cpp " #include "kget_export.h" " to "
> > " #include <kget_export.h>" "? If it works, please tell me and I will put it
> > into KDE SVN...
>
> With <kget_export.h> it does not work, either. However, it does work with
> "../../kget_export.h" After this change, I found out that a lot of other
> changes are needed, too. They are all related to the way files are included.
> Here's a short shell script applying *some* of the needed changes:
>
> sed 's|"\(kget_export.h\)"|"../../\1"|' -i\
> kget/transfer-plugins/bittorrent/btsettingswidget.cpp\
> kget/core/plugin/{plugin.h,transferfactory.h}\
> kget/core/transferdatasource.h
> sed 's|<\(interfaces/trackerinterface.h\)>|"../libbtcore/\1"|' -i\
> kget/transfer-plugins/bittorrent/advanceddetails/trackermodel.h
> sed 's|<\(btcore_export.h\)>|"../\1"|' -i\
> kget/transfer-plugins/bittorrent/libbtcore/btcore_export.h
> sed 's|<\(util/constants.h\)>|"../libbtcore/\1"|' -i\
> kget/transfer-plugins/bittorrent/advanceddetails/webseedsmodel.h
> sed 's|"\(core/plugin/transferfactory.h\)"|../../\1|' -i\
> kget/transfer-plugins/bittorrent/bttransferfactory.h
> sed 's|"core/|"../|' -i\
> kget/core/plugin/transferfactory.h
> sed 's|"core/|"|'\ -i\
> kget/core/scheduler.h
> sed 's|"\(kget_export.h\)"|"../\1"|' -i\
> kget/core/{kget.h,transfergrouphandler.h}
>
> Please note, that I have not yet run the above script and it may need some
> (minor) fixes; I have only tried compiling kdenetwork with the changes
> *implied* in the above script.
>
> The information on the following page may be useful in tracking down this
> issue:
> http://gcc.gnu.org/onlinedocs/gcc-4.5.0/cpp/Include-Syntax.html#Include-Syntax
I also checked that CPATH, C_INCLUDE_PATH, CPLUS_INCLUDE_PATH and
OBJC_INCLUDE_PATH are unset when I build kdenetwork. These environment
variables are documented here:
http://gcc.gnu.org/onlinedocs/gcc-4.5.0/cpp/Environment-Variables.html#Environment-Variables.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kget
mailing list