Changes between Version 1 and Version 2 of Ticket #38834, comment 12


Ignore:
Timestamp:
Oct 17, 2013, 12:30:41 PM (11 years ago)
Author:
kaviani.amir@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38834, comment 12

    v1 v2  
    22But all the time I get the message: ''Error: Linking conflicts may occur.  Please deactivate kerberos5 while building samba4.''
    33
    4 Replying to [comment:9 ajdudman@…]:
    5 > The new files are best placed in your local repository.  To configure that, backup and then edit /opt/local/etc/macports/sources.conf.  Follow the example at line 5. Make a new line 6, like "file:///Users/landonf/misc/MacPorts/ports" substituting your username for landonf.  Save it replacing the old file.
    6 >
    7 >
    8 > To create the local repository, create the new path, extract the archive I attached, and sync the new port repository as follows:
    9 >
    10 > {{{
    11 > mkdir -p ~/misc/MacPorts/ports
    12 > cd ~/misc/MacPorts/ports
    13 > gnutar -xzf ~/Downloads/samba4.tar.gz
    14 > sudo port -d sync
    15 > }}}
    16 >
    17 >
    18 > Build and install samba4 from source verbosely.
    19 >
    20 > {{{
    21 > sudo port -sv install samba4
    22 > }}}
    23 >
     4----
     5
     6'''-- Solution!! --'''[[BR]]
     7
     8Deactivate Kerberos5 in MacPort. To do that open the terminal and run this command.[[BR]]
     9
     10''sudo port -f -d deactivate kerberos5''
     11
     12Then clean up samba4 corrupted installation files, resync the MacPort database and install samba4 again use:[[BR]]
     13
     14''sudo port clean --all samba4''[[BR]]
     15''sudo port -d sync''[[BR]]
     16''sudo port install -sv samba4''[[BR]]