edoceo / pg-ulid

ULID Functions for PostgreSQL
58 stars 0 forks source link

Install error #4

Open budarin opened 2 years ago

budarin commented 2 years ago

Linux version 5.10.76-linuxkit (root@buildkitsandbox) (gcc (Alpine 10.2.1_pre1) 10.2.1 20201203, GNU ld (GNU Binutils) 2.35.2) #1 SMP Mon Nov 8 10:21:19 UTC 2021

root@0046bd9d2463:/usr/src/ulid-c# git clone https://github.com/skeeto/ulid-c.git
Cloning into 'ulid-c'...
remote: Enumerating objects: 116, done.
remote: Total 116 (delta 0), reused 0 (delta 0), pack-reused 116
Receiving objects: 100% (116/116), 22.24 KiB | 437.00 KiB/s, done.
Resolving deltas: 100% (68/68), done.

root@0046bd9d2463:/usr/src# apt install build-essential postgresql-server-dev-14
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
.....

root@0046bd9d2463:/usr/src/ulid-c# make install-strip
make: *** No rule to make target 'install-strip'.  Stop.

I'm sorry, but it's unclear how to build and install the extension

andreypopp commented 2 years ago

Make sure you are cloning from the correct repo, the example listed in the README points to skeeto/ulid-c.git which is a different one than this.

andreypopp commented 2 years ago

Actually I take my prev comment back.

What README says is that you need to clone this repo, then clone ulid-c (the actual implementation of ULID in C) into the pg-ulid dir and only then run make && make install-strip.