LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-02-2012, 03:10 AM   #1
bdaulsa
LQ Newbie
 
Registered: Apr 2010
Location: Sweden
Posts: 6

Rep: Reputation: 0
install makepkg


I am running ubuntu 12.04 64 bit.
I need "makepkg", I have tried to run:
sudo apt-get -f install pacman,
but it had not installed makepkg.
In which package can I find it?
 
Old 10-02-2012, 04:17 AM   #2
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,396
Blog Entries: 7

Rep: Reputation: 166Reputation: 166
Wha!! Ubuntus package manager is dpkg and apt-get: pacman is the Arch package manager, and Makepkg is a Slackware tool.

I hate to answer a question with a question, but i think you may be attempting to do something, and taking the wrong road. Mind telling us what your trying to accomplish by installing pacman and makepkg?
 
Old 10-02-2012, 05:01 AM   #3
bdaulsa
LQ Newbie
 
Registered: Apr 2010
Location: Sweden
Posts: 6

Original Poster
Rep: Reputation: 0
install makepkg

I am trying to install friBID, a program for handling "Bank ID" in Sweden.
I shall build the application with the script fribid.SlackBuild,
the script ends with /sbin/makepkg.
Attached Files
File Type: txt fribid.SlackBuild.txt (3.2 KB, 48 views)
 
Old 10-02-2012, 06:34 AM   #4
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,396
Blog Entries: 7

Rep: Reputation: 166Reputation: 166
That's for Slackware mate, you want the Ubuntu equivalent.
https://launchpad.net/~samuellb/+archive/fribid
 
Old 10-02-2012, 06:55 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,634

Rep: Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268
sudo dpkg -i fribid_1.0.1a-1+precise_amd64.deb
https://launchpadlibrarian.net/10282...cise_amd64.deb

.. Or add the ppa repo :
deb http://ppa.launchpad.net/samuellb/fribid/ubuntu precise main
.. and install with : sudo apt-get update && sudo apt-get install fribid


Pkgtools for Ubuntu : pkgtools_13.1-2_all.deb
https://docs.google.com/open?id=0B7S...S1hdEg3RzVpeEU
.. providing /sbin/ installpkg removepkg makepkg

.
 
1 members found this post helpful.
Old 10-02-2012, 07:32 AM   #6
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,396
Blog Entries: 7

Rep: Reputation: 166Reputation: 166
Add these lines to your sources.list

Code:
deb http://ppa.launchpad.net/samuellb/fribid/ubuntu precise main 
deb-src http://ppa.launchpad.net/samuellb/fribid/ubuntu precise main
Once that's done run the following commands.
Code:
sudo apt-get update
Code:
sudo apt-get install fribid

knudfl beat me

Last edited by Knightron; 10-02-2012 at 07:34 AM.
 
2 members found this post helpful.
Old 10-02-2012, 02:47 PM   #7
bdaulsa
LQ Newbie
 
Registered: Apr 2010
Location: Sweden
Posts: 6

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by knudfl View Post
sudo dpkg -i fribid_1.0.1a-1+precise_amd64.deb
https://launchpadlibrarian.net/10282...cise_amd64.deb

.. Or add the ppa repo :
deb http://ppa.launchpad.net/samuellb/fribid/ubuntu precise main
.. and install with : sudo apt-get update && sudo apt-get install fribid


Pkgtools for Ubuntu : pkgtools_13.1-2_all.deb
https://docs.google.com/open?id=0B7S...S1hdEg3RzVpeEU
.. providing /sbin/ installpkg removepkg makepkg

.
Thanks, it has solved my problem.
 
Old 10-03-2012, 04:47 AM   #8
bdaulsa
LQ Newbie
 
Registered: Apr 2010
Location: Sweden
Posts: 6

Original Poster
Rep: Reputation: 0
I have got a new problem with buffer overfow in tar-1.13 making the package:

Creating Slackware package: /tmp/fribid-0.3.0-x86_64-1_SBo.tgz

*** buffer overflow detected ***: tar-1.13 terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f27adc36907]
/lib/x86_64-linux-gnu/libc.so.6(+0x109800)[0x7f27adc35800]
tar-1.13[0x4088de]
tar-1.13[0x409826]
tar-1.13[0x40a324]
tar-1.13[0x403045]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f27adb4d76d]
tar-1.13[0x4033dd]
======= Memory map: ========
00400000-00420000 r-xp 00000000 08:07 2504427 /usr/local/bin/tar-1.13
0061f000-00620000 r--p 0001f000 08:07 2504427 /usr/local/bin/tar-1.13
00620000-00621000 rw-p 00020000 08:07 2504427 /usr/local/bin/tar-1.13
00621000-00622000 rw-p 00000000 00:00 0
021d7000-021f8000 rw-p 00000000 00:00 0 [heap]
7f27acfd2000-7f27acfe7000 r-xp 00000000 08:07 265863 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f27acfe7000-7f27ad1e6000 ---p 00015000 08:07 265863 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f27ad1e6000-7f27ad1e7000 r--p 00014000 08:07 265863 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f27ad1e7000-7f27ad1e8000 rw-p 00015000 08:07 265863 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f27ad1e8000-7f27adb2c000 r--p 00000000 08:07 2366039 /usr/lib/locale/locale-archive
7f27adb2c000-7f27adce1000 r-xp 00000000 08:07 268235 /lib/x86_64-linux-gnu/libc-2.15.so
7f27adce1000-7f27adee0000 ---p 001b5000 08:07 268235 /lib/x86_64-linux-gnu/libc-2.15.so
7f27adee0000-7f27adee4000 r--p 001b4000 08:07 268235 /lib/x86_64-linux-gnu/libc-2.15.so
7f27adee4000-7f27adee6000 rw-p 001b8000 08:07 268235 /lib/x86_64-linux-gnu/libc-2.15.so
7f27adee6000-7f27adeeb000 rw-p 00000000 00:00 0
7f27adeeb000-7f27adf0d000 r-xp 00000000 08:07 268249 /lib/x86_64-linux-gnu/ld-2.15.so
7f27ae0f0000-7f27ae0f3000 rw-p 00000000 00:00 0
7f27ae10a000-7f27ae10d000 rw-p 00000000 00:00 0
7f27ae10d000-7f27ae10e000 r--p 00022000 08:07 268249 /lib/x86_64-linux-gnu/ld-2.15.so
7f27ae10e000-7f27ae110000 rw-p 00023000 08:07 268249 /lib/x86_64-linux-gnu/ld-2.15.so
7fff110ce000-7fff110ef000 rw-p 00000000 00:00 0 [stack]
7fff111ff000-7fff11200000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted (core dumped)

Slackware package /tmp/fribid-0.3.0-x86_64-1_SBo.tgz created.
 
Old 10-03-2012, 05:13 AM   #9
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,396
Blog Entries: 7

Rep: Reputation: 166Reputation: 166
What are you still stuffing around with making the package for. You aren't running Slackware, so you don't need to use the slackbuild. You need the .deb files which are automatically installed when you follow the instructions we've given you above.
 
Old 10-03-2012, 12:13 PM   #10
bdaulsa
LQ Newbie
 
Registered: Apr 2010
Location: Sweden
Posts: 6

Original Poster
Rep: Reputation: 0
Excuse me, I thought I have to run the build script to activate the smart card function.
That was wrong of me.
The problem is solved.
 
Old 10-03-2012, 08:55 PM   #11
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,396
Blog Entries: 7

Rep: Reputation: 166Reputation: 166
Hey bdaulsa, i'm getting the impression i've offended you. Please don't be, i try to write my posts straight to the point so i don't fill them up with irrelevant details. This approach can some times come off as aggressive, but i assure you, it's not of any sought, i'm just trying to help. Sorry if you took offense.

Good luck, knightron.
 
Old 10-04-2012, 07:12 AM   #12
bdaulsa
LQ Newbie
 
Registered: Apr 2010
Location: Sweden
Posts: 6

Original Poster
Rep: Reputation: 0
It's ok
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
makepkg rigelan Slackware 4 04-28-2009 07:12 PM
makepkg - 10.2 and/or 11.0 TL_CLD Slackware 2 10-10-2006 02:49 PM
makepkg install- tgz in root? itzig Linux - Software 5 03-22-2006 03:12 PM
anybody use makepkg? servnov Slackware 20 12-23-2005 03:27 PM
makepkg? digital bots Linux - Newbie 0 10-21-2002 10:22 PM


All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration