Middleware, development tools, realtime operating system
software and services for superior embedded design
‹ QNX.com
Home
Project Categories
Projects
Community Search
Project: QNX Community pkgsrc Project     Discussion > General > samba compiles now > List of Posts
Forum Topic - samba compiles now: (6 Items)
View:  as 
 
 
samba compiles now
I just checked in the changes to make samba successfully compile and install. Now if I can only get it to run. ;-)  
Anyway, call it an interm checkin.  I would appreciate it if someone could update and bmake install it to confirm that I
 did it right.  Then you may want to actually look at the changes to make sure they are "acceptable" from a doing it the
 right way point of view.

I will try to get some time to see what is missing in terms of making it actually run first chance I get.

Rick..

Re: samba compiles now
Given what I read here: http://lists.parisc-linux.org/hypermail/parisc-linux/7238.html kinda implies the problem(s) at 
the least the initial ones maybe caused my some sort of misconfigured large file support.  The problems I see in the log
 when I tried to start all revolve around tdb() functions and "kinda" fit what I would expect if I was 1/2 configured to
 use large file support.

I will continue to investigate - and look at the configure  output to see what kind of large file support it thought we 
have.

Rick..

Re: samba compiles now
> I just checked in the changes to make samba successfully compile and install. 
> Now if I can only get it to run. ;-)  Anyway, call it an interm checkin.  I 
> would appreciate it if someone could update and bmake install it to confirm 
> that I did it right.  Then you may want to actually look at the changes to 
> make sure they are "acceptable" from a doing it the right way point of view.
> 
> I will try to get some time to see what is missing in terms of making it 
> actually run first chance I get.
> 
> Rick..
> 


It builds for me now, thanks!!!!

I was able to start it, the config file had to be move to /usr/pkg/etc/..

But I couldn't connect to it from windows I got:

[2007/09/28 15:51:22, 0] smbd/server.c:main(847)
  smbd version 3.0.24 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/09/28 15:51:22, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/09/28 15:51:22, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file /etc/printcap for read!
[2007/09/28 15:51:22, 0] smbd/server.c:main(881)
  standard input is not a socket, assuming -D option
[2007/09/28 15:51:51, 0] tdb/tdbutil.c:tdb_log(783)
  tdb(/var/db/samba/ntforms.tdb): tdb_reopen: open failed (Resource busy)
[2007/09/28 15:51:51, 0] smbd/server.c:open_sockets_smbd(480)
  tdb_reopen_all failed.
[2007/09/28 15:51:51, 0] lib/util.c:smb_panic(1599)
  PANIC (pid 1817268274): tdb_reopen_all failed.
[2007/09/28 15:51:51, 0] lib/util.c:log_stack_trace(1756)
  unable to produce a stack trace on this platform
[2007/09/28 15:51:51, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/cores/smbd
~
Re: samba compiles now
Interesting - did you do a 'bmake install'?  My smb.conf file was in /usr/pkg/etc/samba when I was done.

The rest of the stuff is the problem.. ;-) Feel free to investigate any of it.  I am just about finished (from a time 
point of view) for today.  If you don't have commit privs, just post it here and I will add it and see what happens 
first chance I get (this weekend).

Rick..

Re: samba compiles now
> Interesting - did you do a 'bmake install'?  My smb.conf file was in /usr/pkg/
> etc/samba when I was done.

I beleive I did not,  I already have samba 2.?.? install on that machine.

> 
> The rest of the stuff is the problem.. ;-) Feel free to investigate any of it.
>   I am just about finished (from a time point of view) for today.  If you 
> don't have commit privs, just post it here and I will add it and see what 
> happens first chance I get (this weekend).

If I find something I'll post it here.

> 
> Rick..
> 


Re: samba compiles now
> I just checked in the changes to make samba successfully compile and install. 
> Now if I can only get it to run. ;-)  Anyway, call it an interm checkin.  I 
> would appreciate it if someone could update and bmake install it to confirm 
> that I did it right.  Then you may want to actually look at the changes to 
> make sure they are "acceptable" from a doing it the right way point of view.
> 
> I will try to get some time to see what is missing in terms of making it 
> actually run first chance I get.

latest samba in HEAD (samba-3.0.26anb4) does work for me. I am starting samba with the /etc/rc.d/samba start command. 
Before this will work you need to install pkgtools/rc.subr.

Thanks a lot for your work on samba
Christian