Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
120 user(s) are online (56 user(s) are browsing Forums)

Members: 0
Guests: 120

more...

Headlines

 
  Register To Post  

(1) 2 »
Sdk 53.20 issues
Just popping in
Just popping in


See User information
I'm trying to reinstall sdk but when i try, it says: openinf of file failed in archive perl-5.8.5.
Any clue?

Go to top
Re: Sdk 53.20 issues
Home away from home
Home away from home


See User information
redownload the SDK, probably a faulty archive

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Sdk 53.20 issues
Home away from home
Home away from home


See User information
Are you installing over an old SDK or a new install?

Some perl files may well be write protected, so might not like being overwritten.

Otherwise I'd go with the possible corrut archive sugestion above.


Go to top
Re: Sdk 53.20 issues
Just popping in
Just popping in


See User information
thk you for your answers!
i downloaded again sdk but there's the same problem.
(I upgraded the old installation)
I disabled perl installation and it worked fine!
Strange thing is when i double click on sdk installer it says something like "folder @#à@à is not empty. would you like to continue?". It seems the name is made by trashed characters. I answer yes and after a little if there's perl it gives me the error message.
How can i disable write protection of a folder and all of its children?

Go to top
Re: Sdk 53.20 issues
Home away from home
Home away from home


See User information
There is no "upgrade" for the SDK (you'll get in lots of troubles as you see now)
The most problematic part are the links to already isntalled shared objects (they can't be used twice and will end up in error messages while installing and a not 100% functional SDK)

Believe me, i did it wrong myself

1) Install the SDK to a NEW directory
2) Reboot
3) Delete the old SDK directory
4) Let AmiUpdate find and install all the updates
5) Happy coding

Edit: Don't mess with the SDK afterwards (paths, assigns etc.)...it's in a state now that, if installed correctly, works perfectly fine.

Again, believe me, i did it wrong already

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Sdk 53.20 issues
Quite a regular
Quite a regular


See User information
If you install the SDK to a new directory, I don't know what that will do to the existing assigns in User-Startup (whether it'll change them, or add new ones and cause a conflict).

Here's what I'd do:

1) Within DOpus4, delete your SDK directory. It will prompt you to unprotect some files to continue deleting.

2) Remove any reference to the SDK from User-Startup. Then reboot.

3) After rebooting, reinstall the SDK. Reboot again.

Go to top
Re: Sdk 53.20 issues
Amigans Defender
Amigans Defender


See User information
I rename the old SDK dir (any assigns or locks move with the rename)
Then install the new one
Reboot and you can then delete the old dir, or move anything over from it you need (usually "local")

Go to top
Re: Sdk 53.20 issues
Home away from home
Home away from home


See User information
@MickJT

What you should do is:

Rename the sdk directory (not delete) eg;

rename Programming:SDK Programing:SDK.old

leave the startup sequence alone

install new SDK

copy anything in SDK:Local/ from the old sdk that you might need, eg. third party libraries / includes etc.

or

resintall those third party libs you need from scratch.


Go to top
Re: Sdk 53.20 issues
Home away from home
Home away from home


See User information
Quote:

How can i disable write protection of a folder and all of its children?


protect all Programming:sdk/ +w+d


Go to top
Re: Sdk 53.20 issues
Home away from home
Home away from home


See User information
Quote:

MickJT wrote:
If you install the SDK to a new directory, I don't know what that will do to the existing assigns in User-Startup (whether it'll change them, or add new ones and cause a conflict).

As i already tried it pretty often i can tell

When one installs a new SDK it will change the user-startup entries to the new paths (mind you, ONLY if those user-startup entries HAS NOT been changed in the meantime) iirc it looks for
Quote:
;BEGIN AmigaOS 4.1 SDK
...
...
;END AmigaOS 4.1 SDK

and changes the pathes accordingly.

So, after a reboot the new paths gets used and one can savely delete the old SDK dir.

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Sdk 53.20 issues
Home away from home
Home away from home


See User information
Quote:

broadblues wrote:
@MickJT

What you should do is:

Rename the sdk directory (not delete) eg;

rename Programming:SDK Programing:SDK.old

leave the startup sequence alone

install new SDK

copy anything in SDK:Local/ from the old sdk that you might need, eg. third party libraries / includes etc.

or

resintall those third party libs you need from scratch.


Actually i wouldn't do that unless you
a) explicitely know what you are doing or it might break something (AmiUpdate support i.e)
b) have your own library builds in there which can't be downloaded from somewhere else.

For a "normal" user a reinstall and AmiUpdate should be sufficient imho

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Sdk 53.20 issues
Quite a regular
Quite a regular


See User information
@Raziel

What broadblues said is OK so long as all the pkgconfig (.pc) and <name>-config files are copied along with the header (include) files, and the paths aren't mixed up (if it was in common/include, don't put it newlib/include, and vice versa).

Go to top
Re: Sdk 53.20 issues
Just popping in
Just popping in


See User information
Reinstalled 53.20.
Now when i try to compile a mui program shell says:
error proto/muimaster.h no such file or directory...
error libraries/mui.h no such file or directory...
error proto/alib.h no such file...
...
What can i do??

Go to top
Re: Sdk 53.20 issues
Home away from home
Home away from home


See User information
@MickJT

Quote:

What broadblues said is OK so long as all the pkgconfig (.pc) and <name>-config files are copied along with the header (include) files, and the paths aren't mixed up (if it was in common/include, don't put it newlib/include, and vice versa).


Well obviously you would copy files keeping the path consistent.

As to pkconfig, I can't remember any project I tried build where that worked. Do we actually have a working port of it?


Go to top
Re: Sdk 53.20 issues
Just popping in
Just popping in


See User information
Now it gives me another error (solved the other copying mui includes in include_h):

/SDK/include/include_h/interfaces/muimaster.h ... error: muiprog.h no such file or directory.
????

Go to top
Re: Sdk 53.20 issues
Home away from home
Home away from home


See User information
Quote:

Now it gives me another error (solved the other copying mui includes in include_h):


You should probably have added -I/SDK/MUI/C/include to your compile flags if that directory isn't in the compiler include path already.

You certainly should not copy anything into SDK:include/include_h that is for system includes only.

Go to top
Re: Sdk 53.20 issues
Just popping in
Just popping in


See User information
Ok!!! Now it gives me Undefined references to IAHI and IMUIMASTER...
I.E. i looked a function where the only written code is "AHI_ControlAudio(....TAG_END);
and here there's a undefined reference to IAHI.
What's IAHI?

Go to top
Re: Sdk 53.20 issues
Home away from home
Home away from home


See User information
Quote:
Ok!!! Now it gives me Undefined references to IAHI and IMUIMASTER...
I.E. i looked a function where the only written code is "AHI_ControlAudio(....TAG_END);
and here there's a undefined reference to IAHI.
What's IAHI?


IAHI and IMUIMASTER (correct captilisation?) are the interfaces for ahi.device amd muimaster.library respectively.

Are you porting 3,x code? If so you need to add an GetInterface() call to get the interface from the library bases.


Go to top
Re: Sdk 53.20 issues
Just popping in
Just popping in


See User information
@broadblues:
thk you for your patience!
I'm porting a program i wrote in aros. Just a little guitar tuner to learn ahi.
I usually work in aros because i use it on my notebook, then i ported it to morphos and now i'm trying to port it to os4.

Go to top
Re: Sdk 53.20 issues
Just popping in
Just popping in


See User information
all ok: used getinterface and dropinterface, sdi hook, created a string for muia_dtpic_name in mui.h (otherwise it doesnt'work), created a foo muiprog.h in mui includes folder (otherwise it doesn't work). But at least it works...
As soon as os4depot is up (i'm not able to reach it) i'll upload it.
update:
uploaded to os4depot!


Edited by rebraist on 2013/6/9 17:06:19
Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project