Modify

Opened 6 years ago

Last modified 4 years ago

#10274 accepted defect

dbus doesn't compile (probably expat problem)

Reported by: p4trykx@… Owned by: nico
Priority: response-needed Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

I use latest backfire compiled with 2.4 kernel for Linksys WRT54G. I added gnokii and it needs dbus.
I get this message. Tha expat is not found but it is check in .config to compile as module

onfigure: WARNING: expat.h: present but cannot be compiled
configure: WARNING: expat.h:     check for missing prerequisite headers?
configure: WARNING: expat.h: see the Autoconf documentation
configure: WARNING: expat.h:     section "Present But Cannot Be Compiled"
configure: WARNING: expat.h: proceeding with the compiler's result
checking for expat.h... no
configure: error: Explicitly requested expat but expat not found
make[3]: *** [/home/patryk/router/linksys/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/dbus-1.2.4.6permissive/.configured_] Error 1
make[3]: Leaving directory `/home/patryk/router/linksys/backfire/feeds/packages/utils/dbus'
make[2]: *** [package/feeds/packages/dbus/compile] Error 2
make[2]: Leaving directory `/home/patryk/router/linksys/backfire'
make[1]: *** [/home/patryk/router/linksys/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/patryk/router/linksys/backfire'
make: *** [world] Błąd 2

Attachments (1)

.config (92.7 KB) - added by anonymous 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by anonymous

comment:1 Changed 6 years ago by nico

  • Owner changed from developers to nico
  • Priority changed from high to response-needed
  • Status changed from new to accepted

Can you attach the config.log file dbus build dir?

comment:2 Changed 6 years ago by mikebrady@…

Just FYI, a patch was submitted for this on November 16. It was bugging me because it affects avahi on brcm 2.4 as well.
I hope it helps.
Mike

comment:3 Changed 6 years ago by anonymous

On kamikaze 10.3.1, 2.4 kernel this wasn't fixed yet. I've managed to get it to compile by manually applying patch https://dev.openwrt.org/browser/branches/packages_10.03.1/utils/dbus/patches/002-no_wno_pointer_sign.patch to configure.in instead of configure.

That last file is regenerated during build, so patching it is kinda useless.

comment:4 Changed 6 years ago by mikebrady@…

Yep, that's what my patch of November 16 did...

comment:5 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

Action
as accepted .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.