![]() |
|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Im trying to install samba on my openbsd box.
I copied the latest samba from http://mirrors.24-7-solutions.net/pu...ba-3.5.4p3.tgz then copied it to a flash drive and moved it to /usr/ports/samba then I tried a pkg_add samba-3.5.4p3.tgz and i get 'Can't find samba-3.5.4p3.tgz' I did a ls -l and it is there. So then I tried a make install and got 'make: don't know how to make install. Stop in /usr/ports/samba.' What am i doing wrong? Sorry for the noob questions, im learning. Thanks in advance for the help. |
|
|||
![]() Quote:
There is also no need to do all this work. Just set PKG_PATH as described in Section 15.2.2 of the FAQ. Studying all of Section 15 will save you significant aggravation (both currently & in the future...). |
|
|||
![]() Quote:
im not sure if thats release/stable. ill read the section now |
|
|||
![]()
The ISO specified is for -release. The distinction between OpenBSD's flavors, -release, -stable, & -current, is discussed in Section 5.1 of the FAQ.
This also is information every OpenBSD user should understand. |
|
|||
![]()
i typed
"export PKG_PATH=/mnt/cdrom/4.8/packages/`machine -a`/" pkg_add samba-3.5.4p3.tgz and it tells me --- samba-3.5.4.p3 -------------- Can't install samba-3.5.4p3: not found |
|
|||
![]()
Is the file found on the specified path?
You can also point PKG_PATH to any mirror. |
|
|||
![]()
i dont see samba any where on that iso image i burned
im looking at /mnt/4.8/i386 and its just the base install files |
|
|||
![]()
i already have the samba-3.5.4p3.tgz
any idea why it tells me that samba-3.5.4p3.tgz does not exist when i try to run pkg_add? do i need to do a changemod on the file? im logged in as root |
|
|||
![]() Quote:
pkg_add will also balk if the file is not in the expected format. If you downloaded the package, did you specify binary transfer? |
|
|||
![]()
i got it to install but now im getting errors that says it cant find the following files
popt-1.7p1 tbd-1.2.1 libtalloc-2.0.1 libexecinfo-1.1p2 libiconv-1.13p1 Last edited by EverydayDiesel; 14th November 2010 at 08:31 AM. |
|
|||
![]()
If you downloaded via ftp(1), you must specify binary transfer. If you didn't, anything resembling a newline will be incorrectly modified.
Compare the file size to that on the mirror used. |
|
|||
![]()
during system installation i told that i didnt want to run X windows
according to part 15 this would be the reason why im getting the lib not found errors? |
|
|||
![]() Quote:
If you change PKG_PATH as specified in Section 15 to point to a mirror, it will find all related dependencies. |
|
|||
![]() Quote:
Code:
$ cd /usr/ports/net/samba $ make print-run-depends This port requires package(s) "libtalloc-2.0.1 libiconv-1.13p1 tdb-1.2.1 popt-1.7p1 libexecinfo-1.1p2" to run. $ More information can be found on the ports(7) manpage. |
|
|||
![]()
cool, i finally got it by downloading all of those files on the usb drive.
i cannot thank you enough for all your patients and help! |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ACL, Samba ACL, FTP acl | da1 | FreeBSD General | 3 | 3rd April 2009 10:14 PM |
samba and OpenBSD 4.4 | mfaridi | OpenBSD Packages and Ports | 5 | 24th November 2008 09:46 PM |
Samba + acl | bichumo | General software and network | 0 | 30th June 2008 09:49 AM |
samba problem | sniper007 | FreeBSD Ports and Packages | 3 | 22nd June 2008 05:59 PM |
Samba NOT STARTING | pcfxer | FreeBSD General | 11 | 13th May 2008 09:29 AM |