On 05/30/2018 12:05 PM, Joost van der Sluis via Lazarus wrote:
Op 30-05-18 om 17:38 schreef Donald Ziesig via Lazarus:

I found the fpmake.pp file in /usr/share/fpcsrc/3.0.4/packages/fcl-db. Using sudo -i, I ran:

fppkg install -o -gl

It responded "Error code 301", then "Compile successful".

I ran it again:

hp-laptop fcl-db # fppkg install -o -gl
Warning: Unexpected response status code: 301
The FPC Package tool encountered the following error:
Found broken packages, run "fppkg fixbroken" first

hp-laptop fcl-db # fppkg fixbroken
Warning: Unexpected response status code: 301
Re-install packages which are dependent on just installed packages
The FPC Package tool encountered the following error:
Stream read error

All google searches for error 301 showed "Moved permanently" as the meaning.  Unfortunately, it doesn't show where it was looking when it got the 301 error.  Any suggestions?

The URL to the central repository has changed from 'http' to 'https', so that's why you see the redirect. But the main repository won't help you, it is almost empty.

But in your case you can just ignore all this. Fppkg tries to recompile all packages which are depending on fcl-db. But the only change is that you added debug-info. So the recompile is not necessary.

Try to build your project, and see what happens.



(There is another repository you could try, search for your fppg.cfg (run 'fppkg listsettings') and adapt the url to the central repository to: http://fpc.cnoc.nl/repo/testing/mirrors.xml.

If you still miss any packages, ask me to add them.)

Regards,

Joost.

Well, the IDE recompiles, but my app is having problems with my own libraries that use *sqldb*.  The error message says that the checksum has changed.  I tried recompiling all or the dependencies, but the error does not change.

I am now going to uninstall Lazarus and FPC and re-installing it from scratch.  Hopefully that will fix it.  If not, I'll let you know.

BTW, is there any log file that I might be missing that will get me closer to the problem?

Don


-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to