You are not logged in.

#1 2026-06-16 05:04

Digidoc
Member
Registered: 2025-03-15
Posts: 69

Github Script

I am trying to understand something. I found something on Github I want to try.

It works with my Apple Ipad (6th gen). The commands I want to use are:
git clone https://github.com/tr4m0ryp/tr4mpass.git
cd tr4mpass

I found I was missing git, so I used the commands:
sudo apt update
sudo apt upgrade
sudo apt install git-all

Now I get an error:  missing curl/curl.h
Any help?

Last edited by Digidoc (2026-06-16 05:37)

Offline

#2 2026-06-16 07:18

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,578

Re: Github Script

sudo apt install curl

However, I suggest you read the start-helpers-sh script before you just plunge in as you will find a whole lot more dependencies need to be installed.
That script is probably designed to do that for you.

Last edited by bin (2026-06-16 07:22)

Offline

#3 2026-06-16 16:40

Digidoc
Member
Registered: 2025-03-15
Posts: 69

Re: Github Script

Thanks. I get 2 interesting messages. Curl is already installed and is the newest version. 10 or more packages are no longer needed and may be removed. I used: sudo apt autoremove to get rid of them. I think I am ready, I rerun the script, the compile again fails [fatal error: curl/curl.h: No such file or directory. 6 | #include <curl/curl.h> compilation terminated. I continue to try.

Offline

#4 2026-06-17 07:12

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,578

Re: Github Script

Looking at the makefile script line 6
PKG_LIBS = libimobiledevice-1.0 libirecovery-1.0 libusb-1.0 \
           libplist-2.0 openssl libcurl libssh2
The error suggests one or more of these is missing.
The helpers script is supposed to install anything that is missing.
I suggest you check to see is there is something in the above list that is not installed.
libirecovery would be a possibility.

Offline

#5 2026-06-17 11:32

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 810

Re: Github Script

Digidoc wrote:

[fatal error: curl/curl.h: No such file or directory. 6 | #include <curl/curl.h> compilation terminated.

It means that the developer version of a package is missing.

  • Normal package = binary that can be run/executed.

  • Developer package = source code that can be imported into another project to be compiled (in your case it likely goes on C code where *.h files are header files)

When you have such problems, it's never a bad idea to search on the repository for similar issues. I did it and found this page and this page where it it is clearly stated that the missing package might be libssh2-1-dev.
So try 'sudo apt install libssh2-1-dev`

My advice is when you encounter an error, don't focus only on the line that contains the word "error", read also the information messages, it's precisely where I read about libssh2-1-dev.


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Online

#6 2026-06-17 14:08

maroc
Member
From: Freiburg, Germany
Registered: 2026-06-17
Posts: 1

Re: Github Script

Digidoc wrote:

fatal error: curl/curl.h: No such file or directory. 6 | #include <curl/curl.h> compilation terminated.

Looks like you're missing the package libcurl4-gnutls-dev (or, alternatively, libcurl4-openssl-dev).

sudo apt install libcurl4-gnutls-dev

Offline

#7 2026-06-17 19:33

Digidoc
Member
Registered: 2025-03-15
Posts: 69

Re: Github Script

This command: 'sudo apt install libssh2-1-dev' reported already installed.
This command: 'sudo apt install libcurl4-gnutls-dev' seemed to be the one I needed.

Unfortunately, after entering the DFU mode on the iPad, the command ran, tried to update, and then got an error -1. No better, no worse. I still have a locked device and Apple refuses to help. Phooey. Thanks to the people here in this forum.

Offline

Board footer

Powered by FluxBB