Build ports from package rpm or deb

2016-03-19 00:00:00 +0000

This is situation : my original bad idea is a build package Yandex Browser , actualy running for mac , windows and Linux but not for FreeBSD, these were some response of this whole project…

Tinix asked : Someone built a ports from a rpm or deb package? I have not the slightest idea, but surely someone could guide me… I have a project, something not finished running FreeBSD is a benefit for the whole community thank you very much. Tinix.

Reply: An RPM or DEB is similar to our pkg(8). That is to say, somebody took the original, upstream, source and built an RPM or DEB binary package from it. Instead of trying to crowbar a RedHat or Debian Linux pre-compiled binary package into FreeBSD you should take the original source and create a FreeBSD pre-compiled binary pkg(8).

other Reply: What do you mean saying “someone built a ports from a rpm or deb package”? New ports are created taking original source and then patching them to work on FreeBSD. If you want to port a new program to FreeBSD you should start from sources, not from already compiled binaries. Instead, if you want to install rpm or deb packages, there are both archive/rpm4 and archive/dpkg in ports. However I don’t see the point of using them, if not with linux compatibility. EDIT: SirDice sorry, I posted before seeing your reply :oops:

and other reply: That’s how the Linux ports are built on FreeBSD. They take a .rpm or .deb (binary distribution, not source) of the software in question and extract that file to the work directory of the port and then after fixing what has to be fixed a pkg package is created from the extracted files. Take a look at for example emulators/linux_base-c6 for how it’s done.

Tinix reply: I’m sorry I explain wrong, now I understand, I get the original source code should ask the company and then compile the company currently has packages running for mac, windows and linux, but not for FreeBSD

Problem solved with gem install libv8 on FreeBSD 10.2

2016-03-12 18:22:25 +0000

This is the output of running the command ‘gem install libv8’:

the result is : ……. An error occurred while installing libv8 (3.16.14.13), and Bundler cannot continue. Make sure that gem install libv8 -v ‘3.16.14.13’ succeeds before bundling.

problem solved :

sudo gem install libv8 -v '3.16.14.13' -- --with-system-v8

then

Building native extensions with: '--with-system-v8'
This could take a while...
Successfully installed libv8-3.16.14.13
Parsing documentation for libv8-3.16.14.13
Installing ri documentation for libv8-3.16.14.13
Done installing documentation for libv8 after 1 seconds
1 gem installed

and finally again running …bundle install

$bundle install

Hope that helps!

cheers Tinix!

Jekyll start

2016-03-12 18:22:25 +0000

starting with Jekyll and quickly writing some code to work, not much time is insufficient to afford to have a blog .. Jekyll is very siemple and its code is not so far clean ..is .. NEXT see how the next post

Welcome to Jekyll!

2016-03-12 15:31:25 +0000

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

Jekyll also offers powerful support for code snippets:

def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.


« Prev 1 2 3 4 5 6 Next »


subscribe via RSS