LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-18-2020, 01:51 PM   #1
SandMan420420
Member
 
Registered: Nov 2020
Posts: 51

Rep: Reputation: Disabled
how to install adb on slackware current?


hello, i am trying to use sidequest on slackware current and i need adb installed. Can anyone help me? thank you for any help.
 
Old 12-18-2020, 02:28 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Have you tried this?

https://slackbuilds.org/repository/1...android-tools/
 
Old 12-18-2020, 02:36 PM   #3
SandMan420420
Member
 
Registered: Nov 2020
Posts: 51

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
core/adb/client/usb_linux.cpp:274:38: error: use of undeclared identifier 'major'
major(st.st_rdev), minor(st.st_rdev));
^
core/adb/client/usb_linux.cpp:274:57: error: use of undeclared identifier 'minor'
major(st.st_rdev), minor(st.st_rdev));
^
2 errors generated.
[31/143] clang++ -std=gnu++14 -DADB_HOST=1 -Icore/base/include -Icore/include -c core/base/logging.cpp -o core/base/logging.cpp.o
core/base/logging.cpp:154:7: warning: array designators are a C99 extension [-Wc99-designator]
[android::base::VERBOSE] = 7, // KERN_DEBUG (there is no verbose kernel log
^~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
[32/143] clang++ -std=gnu++14 -DADB_HOST=1 -Icore/base/include -Icore/include -c core/base/errors_unix.cpp -o core/base/errors_unix.cpp.o
[33/143] clang++ -std=gnu++14 -DADB_HOST=1 -Icore/base/include -Icore/include -c core/base/strings.cpp -o core/base/strings.cpp.o
[34/143] clang++ -std=gnu++14 -D_GNU_SOURCE -DADB_HOST=1 -Icore/include -Icore/base/include -Icore/adb -c core/adb/client/usb_libusb.cpp -o core/adb/client/usb_libusb.cpp.o
[35/143] clang++ -std=gnu++14 -DADB_HOST=1 -Icore/base/include -Icore/include -c core/base/test_utils.cpp -o core/base/test_utils.cpp.o
ninja: build stopped: subcommand failed.


i get this error when i tried installing it with sbopkg
 
Old 12-18-2020, 03:21 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Looks like ponce has made some changes in his unofficial SBo repo for -current.

https://github.com/Ponce/slackbuilds.../android-tools

Have a look on this thread to see how to set up sbopkg to use his unofficial repo.
 
Old 12-18-2020, 03:59 PM   #5
SandMan420420
Member
 
Registered: Nov 2020
Posts: 51

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Looks like ponce has made some changes in his unofficial SBo repo for -current.

https://github.com/Ponce/slackbuilds.../android-tools

Have a look on this thread to see how to set up sbopkg to use his unofficial repo.
does this mean that it wont work?
 
Old 12-18-2020, 05:35 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
The build on SBo (SlackBuilds.org) probably won't work as it is only designed for 14.2 and not tested for -current. Forum member (and SBo admin) ponce maintains an unofficial version of SBo designed for -current.

You would either need to manually grab the files from his repo (first link) and run the SlackBuild manually or configure sbopkg to use his repo (second link).
 
Old 12-19-2020, 11:48 AM   #7
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 191

Rep: Reputation: 49
If you're wanting to use sbopkg on -current with ponce's repo (which I highly recommend), you will want to install a testing build of sbopkg which adds automatic handling of how the git repo works (among other cool things that I didn't write.)

You can find it here: https://sbopkg.org/test/sbopkg-0.38.2-noarch-1_wsr.tgz
 
1 members found this post helpful.
Old 12-19-2020, 01:06 PM   #8
bsd1101
Member
 
Registered: Jul 2010
Location: Brooklyn NY
Distribution: Slackware 64
Posts: 31

Rep: Reputation: Disabled
There is a prebuilt executable, if that helps. https://developer.android.com/studio...platform-tools
 
  


Reply



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
Potential Exploit? Potential Backdoor? Strange code in '/usr/android/adb' Package: android-tools-adb slicktrail Linux - Security 1 12-05-2016 05:05 AM
[SOLVED] Android adb broke after updates to -current Miranden Slackware 11 11-05-2013 03:40 PM
LXer: Install ADB And Fastboot Android Tools In Ubuntu Via PPA LXer Syndicated Linux News 0 09-01-2012 03:10 PM
How to install adb *MattisFine* Linux - Newbie 1 08-02-2012 03:24 AM
ADB on Slackware Synderesis Slackware 6 05-21-2012 02:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:05 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
Open Source Consulting | Domain Registration