Closed brunochanrio closed 3 weeks ago
Don't know. But i can give you tips
If these thing is good, then you may try to build
I tried cloning the github repo and running mach compile but i think it needs python2 because it was complaining about missing __builtin__ module which got changed to builtins in python3
I was running debian 12 in a vm and the last debian version that had python2 was 11, plus i didn't have enough hard drive space for the compilation anyway
There is also a thing that old firefox versions don't work anymore in newer linux, i tried firefox 78 esr binary from mozilla's ftp on arch like two years ago and every single tab you'd open would crash instantly, it worked on debian for a while until a recent update. I think it's some dependency in libc but I'm not competent enough to answer on that. I imagine Mypal would have the same problem if it was compiled on linux. But it would be interesting to try.
My point is it would be far more realistic to get it compiled on modern linux first and then try to backport it to older versions
I tried again, this time on arch, I got python2 from the aur and got farther in the configuration process only to get told I don't have a version of rust installed even though it's right there. That's... interesting.
I got a bit farther now but for some reason it wants a directx sdk even though i am targeting amd64-linux in mozconfig. IDK what to edit in the build scripts to get past that. But yeah it's not gonna be very easy to adapt Mypal to build on linux and I definitely don't have the knowledge to do that. I can barely get the thing to even configure the build process let alone actually compile anything.
The solution was to remove that part from the build config, i managed to get a bit farther by commenting out xp-specific build commands but now it's complaining about some checksum mismatch where the check was put in place by the stubborn rust devs to make it impossible to continue without "forking" the code properly. This is about as far as i'm going to go with this, maybe someone smarter than me could figure out how to get past it.
I hate the checksum shit too, i think its unnecessary here. This may be about the whitespace thing, rust files have many of them, and for checksum it is to be preserved. You may also delete bad checksums inside json files which lay in the rust components folders.
I hate the checksum shit too, i think its unnecessary here. This may be about the whitespace thing, rust files have many of them, and for checksum it is to be preserved. You may also delete bad checksums inside json files which lay in the rust components folders.
а можно по pуcскe чего там не так?
Чо скучно что-ли, поверь ничего интересного для непрограмиста, и теи более если словарик пробвал и не поенял. А @skipster1337 если больше вопросов не задаёт всё понял и давно себе сделал под линкух версию.
Чо скучно что-ли, поверь ничего интересного для непрограмиста, и теи более если словарик пробвал и не поенял.
а кто сказал что я не пограмизд? о_О я и спрашиваю что вдруг пригодитсо ибо такого еще не видел и штуки 4...5 софтов под ХРю обратно я ужо подогнал
а словарик мне и не нужон а лог таких масштабов без поиска и нормальной подсветки осилить глазами не реально чтоб понять про какие чексуммы в коде? идет речь
Ладно я сборку запустил и можно потрындеть
Так что тебе не понятно? У него видно с первых строк всё чётко
А вот смотри как у меня круто
А @skipster1337 если больше вопросов не задаёт всё понял и давно себе сделал под линкух версию.
No, I am just busy. I haven't done anything new yet, will try to remove the checks soon.
I hate the checksum shit too, i think its unnecessary here. This may be about the whitespace thing, rust files have many of them, and for checksum it is to be preserved. You may also delete bad checksums inside json files which lay in the rust components folders.
а можно по pуcскe чего там не так?
Там контрольные суммы в rust файлах которые нужно особым образом редактировать чтобы на них не ругался компилятор (или я так понял). Вроде их можно просто удалить или заменить на новые. Я ещё не попробовал, потому что занят.
i changed the checksum in the rust file but now i'm getting unknown variables and this permission error with the linker (running with sudo doesnt fix it)
I hate the checksum shit too, i think its unnecessary here. This may be about the whitespace thing, rust files have many of them, and for checksum it is to be preserved. You may also delete bad checksums inside json files which lay in the rust components folders.
а можно по pуcскe чего там не так?
Там контрольные суммы в rust файлах которые нужно особым образом редактировать чтобы на них не ругался компилятор (или я так понял). Вроде их можно просто удалить или заменить на новые. Я ещё не попробовал, потому что занят.
шо в этом будуйщем копирастического опенсорса еще и "открытые коды" подписанны? :rofl: 👏
Hey next please post in by text and collapsed, pictures are really not convenient. So nothing ti say about permission error Next put #include "jsfriendapi.h" to that file Then mutex file: may be I had broken it for linux when fixed for winxp, take it from the original firefox68 code
i managed to fix the jsfriendapi error but replacing the mutex file with the original ff68 version didn't help, i get the same error, the mutex_posix files seem identical
also it looks like the permission errors fixed themselves, i realized i was using rustc 1.77 instead of 1.45 and changed versions
well now this stupid build system is telling me that the checksum for mod.rs is wrong but if i set it to its 'actual' checksum it does some weird shit and switches the values around and then tells me the 'actual' checksum value now is the 'expected' one from before, resulting in an endless loop
i honestly have no idea what the fuck it wants, i dont think it edits the rs file itself because the last modified date is from 3 weeks ago
theres more errors too buildlog.txt
replacing the mutex file with the original ff68 version didn't help
Try replace all that files with the original h cpp, may be the whole dir
the checksum for mod.rs is wrong
remove it with the checksum from the json file, that whole string
It's possible to port Mypal to Ubuntu 8.04 (and also to other old Linux operating systems)?