Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Building Samba Server: (7 Items)
   
Building Samba Server  
Hi,

I'm trying to build samba in Momentics...
On Linux, I'd do a ./configure && make...
How do I do this the most elegant way with Momentics, doing cross-platform devel for ARM?

Thanks,
Markus
Re: Building Samba Server  
On Thu, Jul 21, 2011 at 07:35:22AM -0400, Markus Heider wrote:
> Hi,
> 
> I'm trying to build samba in Momentics...
> On Linux, I'd do a ./configure && make...
> How do I do this the most elegant way with Momentics,

Same way self hosted.

> doing
> cross-platform devel for ARM?

I find the easiest way is to parse the steps the
package uses to create the x86 version above and
convert it to our recursive make structure.  YMMV.

Regards,

-seanb
RE: Building Samba Server  
There is rudimentary support for autoconf packages in the build system, but it is undocumented.  It revolves around the 
use of qmake-cfg.mk and the build-cfg script.

________________________________

From: Sean Boudreau [mailto:community-noreply@qnx.com]
Sent: Thu 2011-07-21 08:46
To: general-toolchain
Subject: Re: Building Samba Server



On Thu, Jul 21, 2011 at 07:35:22AM -0400, Markus Heider wrote:
> Hi,
>
> I'm trying to build samba in Momentics...
> On Linux, I'd do a ./configure && make...
> How do I do this the most elegant way with Momentics,

Same way self hosted.

> doing
> cross-platform devel for ARM?

I find the easiest way is to parse the steps the
package uses to create the x86 version above and
convert it to our recursive make structure.  YMMV.

Regards,

-seanb



_______________________________________________

General
http://community.qnx.com/sf/go/post87489



Re: Building Samba Server  
I know but I find it hit and miss.  YMMV :)

-seanb

On Thu, Jul 21, 2011 at 08:55:39AM -0400, Neil Schellenberger wrote:
> There is rudimentary support for autoconf packages in the build system,
> but it is undocumented.  It revolves around the use of qmake-cfg.mk and
> the build-cfg script.
> 
> ________________________________
> 
> From: Sean Boudreau [mailto:community-noreply@qnx.com]
> Sent: Thu 2011-07-21 08:46
> To: general-toolchain
> Subject: Re: Building Samba Server
> 
> 
> 
> On Thu, Jul 21, 2011 at 07:35:22AM -0400, Markus Heider wrote:
> > Hi,
> >
> > I'm trying to build samba in Momentics...
> > On Linux, I'd do a ./configure && make...
> > How do I do this the most elegant way with Momentics,
> 
> Same way self hosted.
> 
> > doing
> > cross-platform devel for ARM?
> 
> I find the easiest way is to parse the steps the
> package uses to create the x86 version above and
> convert it to our recursive make structure.  YMMV.
> 
> Regards,
> 
> -seanb
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87489
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87492
> 
RE: Building Samba Server  
Yes, it is definitely tricky to get it set up right (although that is chiefly a function of how good the autoconf is in 
the first place).
 
I think of it more as "Hit and hit and hit and hit... until it stops moving." ;-)

________________________________

From: Sean Boudreau [mailto:community-noreply@qnx.com]
Sent: Thu 2011-07-21 08:58
To: general-toolchain
Subject: Re: Building Samba Server




I know but I find it hit and miss.  YMMV :)

-seanb

On Thu, Jul 21, 2011 at 08:55:39AM -0400, Neil Schellenberger wrote:
> There is rudimentary support for autoconf packages in the build system,
> but it is undocumented.  It revolves around the use of qmake-cfg.mk and
> the build-cfg script.
>
> ________________________________
>
> From: Sean Boudreau [mailto:community-noreply@qnx.com]
> Sent: Thu 2011-07-21 08:46
> To: general-toolchain
> Subject: Re: Building Samba Server
>
>
>
> On Thu, Jul 21, 2011 at 07:35:22AM -0400, Markus Heider wrote:
> > Hi,
> >
> > I'm trying to build samba in Momentics...
> > On Linux, I'd do a ./configure && make...
> > How do I do this the most elegant way with Momentics,
>
> Same way self hosted.
>
> > doing
> > cross-platform devel for ARM?
>
> I find the easiest way is to parse the steps the
> package uses to create the x86 version above and
> convert it to our recursive make structure.  YMMV.
>
> Regards,
>
> -seanb
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post87489
>
>
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post87492
>



_______________________________________________

General
http://community.qnx.com/sf/go/post87493



Re: Building Samba Server  
Thanks for your Replies.


> On Thu, Jul 21, 2011 at 07:35:22AM -0400, Markus Heider wrote:
> > Hi,
> > 
> > I'm trying to build samba in Momentics...
> > On Linux, I'd do a ./configure && make...
> > How do I do this the most elegant way with Momentics,
> 
> Same way self hosted.

you mean running Linux in a VM?


 
> > doing
> > cross-platform devel for ARM?
> 
> I find the easiest way is to parse the steps the
> package uses to create the x86 version above and
> convert it to our recursive make structure.  YMMV.


How do you mean that?

Re: Building Samba Server  
On Fri, Jul 22, 2011 at 12:41:22AM -0400, Markus Heider wrote:
> Thanks for your Replies.
> 
> 
> > On Thu, Jul 21, 2011 at 07:35:22AM -0400, Markus Heider wrote:
> > > Hi,
> > > 
> > > I'm trying to build samba in Momentics...
> > > On Linux, I'd do a ./configure && make...
> > > How do I do this the most elegant way with Momentics,
> > 
> > Same way self hosted.
> 
> you mean running Linux in a VM?

No, I mean install qnx natively on an x86 machine.  There's
3 host platforms for momentics (the qnx tools): windows,
linux and native (qnx).  In this scenario linux is not
involved, the same way qnx is not involved when you build
samba or whatever on linux.  If you use a vm it would be
qnx in the vm.

You can build samba 3.5 for x86 from pkgsrc:

http://community.qnx.com/sf/projects/pkgsrc
http://community.qnx.com/sf/wiki/do/viewPage/projects.pkgsrc/wiki/Bootstrap

# (cd pkgsrc/net/samba3.5 && bmake install)



> 
> 
>  
> > > doing
> > > cross-platform devel for ARM?
> > 
> > I find the easiest way is to parse the steps the
> > package uses to create the x86 version above and
> > convert it to our recursive make structure.  YMMV.
> 
> 
> How do you mean that?
> 

This is the layout the ide sets up when you instantiate
a 'C project' therein.