emartisoft / Rastari

All-in-one Atari (ST-STe-TT-Falcon) Solution on your Raspberry Pi
GNU General Public License v3.0
37 stars 10 forks source link

Almost there... installed compiler and dependencies.. Now errors at simple end part #13

Open WilsonBradley opened 2 years ago

WilsonBradley commented 2 years ago

Finally got the code to compile after . installed compiler and dependencies.. That was a headache.

Now errors at simple end part.. Something to do with trying to copy but can't find path...

Error message;

-e --== Copying files to Rastari path ==-- cp: cannot stat './SelectNetwork/.wav': No such file or directory sed: can't read /root/.hatari/.cfg: No such file or directory sed: can't read /root/.hatari/.cfg: No such file or directory sed: can't read /root/.hatari/.cfg: No such file or directory Hatari config files are updated -e --== Rastari is compiled & installed ==-- -e Rebooting...

Code section ; echo -e "${BLUE}--== Copying files to Rastari path ==--${NOCOLOR}" cp ./bootScreen/bin/Release/bootScreen ./AudioOutput/bin/Release/AudioOutput ./Configuration/bin/Release/Configuration ./SelectNetwork/bin/Release/SelectNetwork ./Rastari/.sh ./Rastari/bin/Debug/Rastari ./bootScreen/.png ./Configuration/.png ./AudioOutput/.png ./bootScreen/.wav ./SelectNetwork/.wav ./SelectNetwork/.png ./Rastari/.png ./Rastari/.wav ./Rastari/.ttf ./ResizeSD/.png ./ResizeSD/bin/Release/ResizeSD ./VERSION $TARGET cd $TARGET chmod a+x .sh chmod a+x ./bootScreen chmod a+x ./Rastari chmod a+x ./SelectNetwork chmod a+x ./AudioOutput chmod a+x ./Configuration chmod a+x ./ResizeSD ./updateConfig.sh cd ~

FujiMan66 commented 2 years ago

The script is designed for the root user. You'll have to create another user like 'rastari' and change all references from root to rastari in the script. I'm not sure if the rastari user needs a home directory, if it doesn't create with

sudo useradd -r -s /bin/false rastari

On Wed, May 11, 2022 at 9:49 PM Wilson K Bradley @.***> wrote:

Finally got the code to compile after . installed compiler and dependencies.. That was a headache.

Now errors at simple end part.. Something to do with trying to copy but can't find path...

Error message;

-e --== Copying files to Rastari path ==-- cp: cannot stat './SelectNetwork/ .wav': No such file or directory sed: can't read /root/.hatari/.cfg: No such file or directory sed: can't read /root/.hatari/ .cfg: No such file or directory sed: can't read /root/.hatari/.cfg: No such file or directory Hatari config files are updated -e --== Rastari is compiled & installed ==-- -e Rebooting...

Code section ; echo -e "${BLUE}--== Copying files to Rastari path ==--${NOCOLOR}" cp ./bootScreen/bin/Release/bootScreen ./AudioOutput/bin/Release/AudioOutput ./Configuration/bin/Release/Configuration ./SelectNetwork/bin/Release/SelectNetwork ./Rastari/.sh ./Rastari/bin/Debug/Rastari ./bootScreen/.png ./Configuration/.png ./AudioOutput/.png ./bootScreen/.wav ./SelectNetwork/.wav ./SelectNetwork/.png ./Rastari/.png ./Rastari/.wav ./Rastari/.ttf ./ResizeSD/.png ./ResizeSD/bin/Release/ResizeSD ./VERSION $TARGET cd $TARGET chmod a+x .sh chmod a+x ./bootScreen chmod a+x ./Rastari chmod a+x ./SelectNetwork chmod a+x ./AudioOutput chmod a+x ./Configuration chmod a+x ./ResizeSD ./updateConfig.sh cd ~

— Reply to this email directly, view it on GitHub https://github.com/emartisoft/Rastari/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKEK3XO4ASVDS4IIUHPBNTVJRWSBANCNFSM5VWY4XTA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- "Oh, believe me, I calculated the odds of this succeeding versus the odds I was doing something incredibly stupid, and I went ahead anyway. Well, look at that! 'Breach hull, all die' — I even had it underlined!" - Crow

WilsonBradley commented 2 years ago

Not sure what to expect after running script.. Is it suppose to autostart at boot? If possible I think a useable image might be what so many have been asking for.

On Sat, May 14, 2022, 1:52 PM Wilson Bradley @.***> wrote:

Thanks , I'll try that.. I was thinking that since looking at script it references a Rastari user directory.

Was trying to run script and have it compile on Bullseye 64bit os /Pi 4

If I end up pulling my hair out again.. Could you compile and post on Google drive or something?

On Sat, May 14, 2022, 9:01 AM FujiMan66 @.***> wrote:

The script is designed for the root user. You'll have to create another user like 'rastari' and change all references from root to rastari in the script. I'm not sure if the rastari user needs a home directory, if it doesn't create with

sudo useradd -r -s /bin/false rastari

On Wed, May 11, 2022 at 9:49 PM Wilson K Bradley @.***> wrote:

Finally got the code to compile after . installed compiler and dependencies.. That was a headache.

Now errors at simple end part.. Something to do with trying to copy but can't find path...

Error message;

-e --== Copying files to Rastari path ==-- cp: cannot stat './SelectNetwork/ .wav': No such file or directory sed: can't read /root/.hatari/.cfg: No such file or directory sed: can't read /root/.hatari/ .cfg: No such file or directory sed: can't read /root/.hatari/.cfg: No such file or directory Hatari config files are updated -e --== Rastari is compiled & installed ==-- -e Rebooting...

Code section ; echo -e "${BLUE}--== Copying files to Rastari path ==--${NOCOLOR}" cp ./bootScreen/bin/Release/bootScreen ./AudioOutput/bin/Release/AudioOutput ./Configuration/bin/Release/Configuration ./SelectNetwork/bin/Release/SelectNetwork ./Rastari/.sh ./Rastari/bin/Debug/Rastari ./bootScreen/.png ./Configuration/.png ./AudioOutput/.png ./bootScreen/.wav ./SelectNetwork/.wav ./SelectNetwork/.png ./Rastari/.png ./Rastari/.wav ./Rastari/.ttf ./ResizeSD/.png ./ResizeSD/bin/Release/ResizeSD ./VERSION $TARGET cd $TARGET chmod a+x .sh chmod a+x ./bootScreen chmod a+x ./Rastari chmod a+x ./SelectNetwork chmod a+x ./AudioOutput chmod a+x ./Configuration chmod a+x ./ResizeSD ./updateConfig.sh cd ~

— Reply to this email directly, view it on GitHub https://github.com/emartisoft/Rastari/issues/13, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ANKEK3XO4ASVDS4IIUHPBNTVJRWSBANCNFSM5VWY4XTA

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- "Oh, believe me, I calculated the odds of this succeeding versus the odds I was doing something incredibly stupid, and I went ahead anyway. Well, look at that! 'Breach hull, all die' — I even had it underlined!" - Crow

— Reply to this email directly, view it on GitHub https://github.com/emartisoft/Rastari/issues/13#issuecomment-1126731989, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6LSRLF4KUHLOEHPJOIBV3VJ6527ANCNFSM5VWY4XTA . You are receiving this because you authored the thread.Message ID: @.***>

WilsonBradley commented 1 year ago

Thanks , I'll try that.. I was thinking that since looking at script it references a Rastari user directory.

Was trying to run script and have it compile on Bullseye 64bit os /Pi 4

If I end up pulling my hair out again.. Could you compile and post on Google drive or something?

On Sat, May 14, 2022, 9:01 AM FujiMan66 @.***> wrote:

The script is designed for the root user. You'll have to create another user like 'rastari' and change all references from root to rastari in the script. I'm not sure if the rastari user needs a home directory, if it doesn't create with

sudo useradd -r -s /bin/false rastari

On Wed, May 11, 2022 at 9:49 PM Wilson K Bradley @.***> wrote:

Finally got the code to compile after . installed compiler and dependencies.. That was a headache.

Now errors at simple end part.. Something to do with trying to copy but can't find path...

Error message;

-e --== Copying files to Rastari path ==-- cp: cannot stat './SelectNetwork/ .wav': No such file or directory sed: can't read /root/.hatari/.cfg: No such file or directory sed: can't read /root/.hatari/ .cfg: No such file or directory sed: can't read /root/.hatari/.cfg: No such file or directory Hatari config files are updated -e --== Rastari is compiled & installed ==-- -e Rebooting...

Code section ; echo -e "${BLUE}--== Copying files to Rastari path ==--${NOCOLOR}" cp ./bootScreen/bin/Release/bootScreen ./AudioOutput/bin/Release/AudioOutput ./Configuration/bin/Release/Configuration ./SelectNetwork/bin/Release/SelectNetwork ./Rastari/.sh ./Rastari/bin/Debug/Rastari ./bootScreen/.png ./Configuration/.png ./AudioOutput/.png ./bootScreen/.wav ./SelectNetwork/.wav ./SelectNetwork/.png ./Rastari/.png ./Rastari/.wav ./Rastari/.ttf ./ResizeSD/.png ./ResizeSD/bin/Release/ResizeSD ./VERSION $TARGET cd $TARGET chmod a+x .sh chmod a+x ./bootScreen chmod a+x ./Rastari chmod a+x ./SelectNetwork chmod a+x ./AudioOutput chmod a+x ./Configuration chmod a+x ./ResizeSD ./updateConfig.sh cd ~

— Reply to this email directly, view it on GitHub https://github.com/emartisoft/Rastari/issues/13, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ANKEK3XO4ASVDS4IIUHPBNTVJRWSBANCNFSM5VWY4XTA

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- "Oh, believe me, I calculated the odds of this succeeding versus the odds I was doing something incredibly stupid, and I went ahead anyway. Well, look at that! 'Breach hull, all die' — I even had it underlined!" - Crow

— Reply to this email directly, view it on GitHub https://github.com/emartisoft/Rastari/issues/13#issuecomment-1126731989, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6LSRLF4KUHLOEHPJOIBV3VJ6527ANCNFSM5VWY4XTA . You are receiving this because you authored the thread.Message ID: @.***>