The ugly quick fix is to copy them to the mock directory 
(/var/lib/mock/<distro>/root/) after creating it with make. Problem is that you 
probably need more then just the .h files, so you'd have to copy other stuff as 
well. And you probably aren't building on the same OS your RPM's are supposed 
to work on, so that causes trouble as well. Better would to fix the mock 
settings to include that package, but I didn't try that yet.

Regards,

Niek

Op 4 nov. 2011, om 15:05 heeft Domenico Chierico het volgende geschreven:

> I'm trying to build rpms for 4.5 but I'm quite new to mock system.
> 
> I need to add support for ruby in freeswitch, so  I've modified the spec
> file and run the build script. everithing seems all right even if the
> fact that ruby.h seems to be missed into the chroot env.
> 
> How can I add that deps?.
> 
> 
> _______________________________________________
> sipx-dev mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to