Create a tgz from source FreeBSD


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Create a tgz from source FreeBSD
# 1  
Old 12-30-2014
Create a tgz from source FreeBSD

Hello,

i'm having a problem here with FreeBSD 9.2 . I've created a directory and downloaded the latest ntp-4.2.8p1-beta2 from ntp.org. Untar then into the directory and then
Code:
 ./configure

all went OK. Then i had to modify some parameters in the config.h created with ./configure . Then

Code:
make install

again all went ok. The problem comes since i have to create a tgz from source ( i've modified the config.h file and i need to put into another HW). I've tried with :

Code:
 ls /var/db/pkg | grep ntp

but there is no ntp-4.2.8p1-beta2 installed! so the command
Code:
pkg_create -b  ntp-4.2.8p1-beta2

just won't work. I've tried also with
Code:
make package

with no luck.

Thanks for help
# 2  
Old 12-30-2014
Why can you not simply do a "make clean" in your build directory and then create a tarball of the build directory for copying to the other system?
This User Gave Thanks to fpmurphy For This Post:
# 3  
Old 12-30-2014
Thanks i've done it with
Code:
 tar cfz ntp.tgz *

Anyway why with make install it doesn't see the package installed?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Create Makefile from source files

1. The problem statement, all variables and given/known data: Create a makefile for a set of source files. Several sources files are given but we are not allowed to modify them. The goal is to create a makefile such that if a change is made to any of the source code files, the project can be... (5 Replies)
Discussion started by: pintu1228
5 Replies

2. UNIX for Dummies Questions & Answers

How to create .tgz file without creating .tar file?

Hi, Could anyone help me in providing command to generate .tgz file without creating .tar file? currently i am using below command for doing the same but if tar file has big size and there is no space in drive then tgz file will not be generated. I want to generate tgz file directly without... (4 Replies)
Discussion started by: Pawan Kumar
4 Replies

3. BSD

Unable to create zfs zpool in FreeBSD 8.2: no such pool or dataset

I am trying to test simple zfs functionality on a FreeBSD 8.2 VM. When I try to run a 'zpool create' I receive the following error: # zpool create zfspool /dev/da0s1a cannot create 'zfspool': no such pool or dataset # zpool create zfspool /dev/da0 cannot create 'zfspool': no such pool or... (3 Replies)
Discussion started by: bstring
3 Replies

4. Shell Programming and Scripting

How to create tgz file for all the directories in one time?

Hi, On server there is an one folder . which contains sub folder Eg - TEST folder contains test1, test2, execr ,tt (folder). also includes some text file like abc.txt psp.txt gg.log. here iwant to create tgz file for all the folders and file in one time. I know the command... (1 Reply)
Discussion started by: aish11
1 Replies

5. UNIX for Dummies Questions & Answers

file.tgz.1of2 & file.tgz.2of2

Hi all, Need help. Anybody seen this kind of file before? file.tgz.1of2 file.tgz.2of2 how to extract this tgz file? Any help? Tq (5 Replies)
Discussion started by: zeedwolf
5 Replies

6. UNIX for Dummies Questions & Answers

How to read freebsd kernel source?

I got the freebsd kernel source from the first install CD(in directory:\7.0-RELEASE\src\),isn't right? if so,how can i read it? Is there any tools? (4 Replies)
Discussion started by: zhouq3132
4 Replies

7. UNIX for Advanced & Expert Users

How to read freebsd kernel source?

I got the freebsd kernel source from the first install CD(in directory:\7.0-RELEASE\src\),isn't right? if so,how can i read it? Is there any tools? (1 Reply)
Discussion started by: zhouq3132
1 Replies

8. UNIX for Dummies Questions & Answers

Create individual tgz files from a set of files

Hello I have a ton of files in a directory of the format app.log.2008-04-04 I'd like to run a command that would archive each of these files as app.log.2008-04-04.tgz I tried a few combinations of find with xargs etc but no luck. Thanks Amit (4 Replies)
Discussion started by: amitg
4 Replies

9. BSD

Through Unix FreeBSD to create mail account

Dear All, Someone can tell me how come can I set and create the mail account in the Unix? Also, it can be applied into the misrosoft outlook to send and receive the mail? Pls let me know that asap. Top Urgent Thanks Thanks Thanks :) (0 Replies)
Discussion started by: Daniel0623
0 Replies

10. Programming

how to create freeBSD binaries in Linux or Windows

I have a trouble: i cannot install and use freeBSD for some reasons(have no computer now, and comps on my work are Windowsed), but I need to compile some UNIX sources for freeBSD(this one: http://ppcpp.sf.net/). What can I do? Are there a compilers, that can run in Windows, but can compile binaries... (3 Replies)
Discussion started by: szzz
3 Replies
Login or Register to Ask a Question