Bluehost.com Web Hosting $6.95

Re: [Samba] makepkg.sh for samba 3.0.20

This is a discussion on Re: [Samba] makepkg.sh for samba 3.0.20 within the Samba forums, part of the Networking and Network Related category; Hi Jerry, pkgadd works fine as I tried your suggested test (setting --with-configdir=/usr/local/samba/etc) Thanks, Xuan ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-24-2005
xuan van
 
Posts: n/a
Default Re: [Samba] makepkg.sh for samba 3.0.20

Hi Jerry,

pkgadd works fine as I tried your suggested test
(setting --with-configdir=/usr/local/samba/etc)

Thanks,

Xuan
Gerald (Jerry) Carter wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> xuan van wrote:
> | Hi,
> |
> | I downloaded 3.0.20 from samba.org, ran makepkg.sh to create
> | samba pkg for Solaris. The install base for the new version
> | locates in /opt/samba and the smbd locates in /etc/samba.
> | I tried to modify the makepkg.sh to put everything under
> | /usr/local/samba as follow:
> |
> | Delete:
> | ====
> | --localstatedir=/var/lib/samba \
> | --with-piddir=/var/run \
> | --with-logfilebase=/var/log/samba \
> | --with-privatedir=/etc/samba/private \
> | --with-configdir=/etc/samba \
> |
> | Add:
> | ====
> | --localstatedir=/usr/local/samba/lib \
> | --with-piddir=/var/run \
> | --with-logfilebase=/usr/local/samba/var/log \
> | --with-privatedir=/usr/local/samba/private \
> | --with-configdir=/usr/local/samba/lib \
> |
> | Replaced INSTALL_BASE=/opt/samba with INSTALL_BASE=/usr/local/samba
> |
> | makepkg.sh completed with no error. However pkgadd gives me the
> | following errors:
> | # pkgadd -d . samba
> |
> | Processing package instance <samba> from </tmp>
> |
> | CIFS File and Print server
> | (sparc) 3.0.20
> | Copyright (C) 2001 Samba Team
> | Using </usr/local/samba> as the package base directory.
> | ## Processing package information.
> | pkgadd: ERROR: duplicate pathname </usr/local/samba/lib>
> | pkgadd: ERROR: unable to process pkgmap
>
> It's probably because the configdir and libdir overlap.
> Just remove your --with-logbase and --with-configdir lines
> since those are the default values anyways.
>
> Although it could just be a bug in the generated prototype file
> now that I think of it since we would be defining
> /usr/local/samba/lib/twice.
>
> try setting --with-configdir=/usr/local/samba/etc
>
> just as a test
>
>
>
>
>
>
>
>
> cheers, jerry
> ================================================== ===================
> Alleviating the pain of Windows(tm) ------- http://www.samba.org
> GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc
> "There's an anonymous coward in all of us." --anonymous
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFDVSYcIR7qMdg1EfYRAuDLAKC4nu7DBXa2qiKmKfnQ6u/p6xnzpgCg1R48
> VpbimmV5yWW6wigq9j1/L9U=
> =SSDl
> -----END PGP SIGNATURE-----
>


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:41 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0