ladybird icon indicating copy to clipboard operation
ladybird copied to clipboard

Linux - Cannot compile "bash: ./Meta/ladybird.sh: No such file or directory"

Open techrivertree opened this issue 9 months ago • 5 comments

I was able to get through "sudo apt install libpulse-dev" but every command after that failed with "bash: ./Meta/ladybird.sh: No such file or directory".

I am new to compiling, what I am doing wrong or what is wrong with the Ubuntu compile instructions?

techrivertree avatar Mar 15 '25 01:03 techrivertree

You'll need to first clone the repo, and then cd into the ladybird clone directory:

git clone [email protected]:LadybirdBrowser/ladybird.git
cd ladybird

sideshowbarker avatar Mar 15 '25 02:03 sideshowbarker

I know how to do it.

ChaseKnowlden avatar Mar 15 '25 02:03 ChaseKnowlden

Can you check if you have a [some-path]/ladybird/Meta/ladybird.sh file maybe something failed when you cloned the repo?

fantasyland101 avatar Mar 15 '25 11:03 fantasyland101

You'll need to first clone the repo, and then cd into the ladybird clone directory:

git clone [email protected]:LadybirdBrowser/ladybird.git
cd ladybird

git clone does not work

"Cloning into 'ladybird'... [email protected]: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists."

I tried git clone, sudo git clone, and root git clone. Same error everytime.

techrivertree avatar Mar 15 '25 13:03 techrivertree

If you haven't set up your public SSH key with GitHub, you can use the HTTPS address instead to clone:

git clone https://github.com/LadybirdBrowser/ladybird.git

gmta avatar Mar 15 '25 13:03 gmta

If you haven't set up your public SSH key with GitHub, you can use the HTTPS address instead to clone:

git clone https://github.com/LadybirdBrowser/ladybird.git

That worked, now what?

techrivertree avatar Mar 15 '25 14:03 techrivertree

I was able to compile it. I know ladybug is in pre alpha so should I report bugs? Also, I notice that in Terminal, the log for ladybug shows. If I restart my PC, will I be able to use ladybug and list the log in terminal?

techrivertree avatar Mar 16 '25 00:03 techrivertree

I was able to compile it. I know ladybug is in pre alpha so should I report bugs? Also, I notice that in Terminal, the log for ladybug shows. If I restart my PC, will I be able to use ladybug and list the log in terminal?

To preserve the output, you'll need to pipe/tee it to a log file:

./Meta/ladybird.sh run ladybird 2>&1 | tee LOG

That'll create a file named LOG that'll persist the output.

sideshowbarker avatar Mar 16 '25 01:03 sideshowbarker