{"id":255,"date":"2022-01-07T18:07:36","date_gmt":"2022-01-07T21:07:36","guid":{"rendered":"https:\/\/gladiston.net.br\/?page_id=255"},"modified":"2022-07-13T16:05:15","modified_gmt":"2022-07-13T19:05:15","slug":"lidando-com-a-mensagem-error-there-is-a-problem-with-the-fppkg-configuration","status":"publish","type":"page","link":"https:\/\/gladiston.net.br\/en\/programacao\/lazarus-ide\/lidando-com-a-mensagem-error-there-is-a-problem-with-the-fppkg-configuration\/","title":{"rendered":"Dealing with the message: \u201cError: there is a problem with the Fppkg configuration\u201d"},"content":{"rendered":"<p>Sometimes, when running the program, the following message may appear:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"777\" height=\"532\" src=\"http:\/\/gladiston.net.br\/wp-content\/uploads\/2022\/01\/instalacao_posinstall_error1.png\" alt=\"\" class=\"wp-image-99\" srcset=\"https:\/\/gladiston.net.br\/wp-content\/uploads\/2022\/01\/instalacao_posinstall_error1.png 777w, https:\/\/gladiston.net.br\/wp-content\/uploads\/2022\/01\/instalacao_posinstall_error1-300x205.png 300w, https:\/\/gladiston.net.br\/wp-content\/uploads\/2022\/01\/instalacao_posinstall_error1-768x526.png 768w\" sizes=\"auto, (max-width: 777px) 100vw, 777px\" \/><figcaption>Error: there is a problem with the Fppkg configuration.<\/figcaption><\/figure>\n\n\n\n<p>From my observations, it happens because the file where some settings are stored doesn&#039;t exist, it&#039;s corrupt or you just did a clean install. As a configuration file you can use the default it offers which is ~\/.config\/fppkg.cfg.<\/p>\n\n\n\n<p>No need to be alarmed by the message, just click <strong>Restore Fppkg configuration<\/strong> and then this screen will appear:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"593\" height=\"564\" src=\"http:\/\/gladiston.net.br\/wp-content\/uploads\/2022\/01\/instalacao_posinstall_error1b.png\" alt=\"\" class=\"wp-image-100\" srcset=\"https:\/\/gladiston.net.br\/wp-content\/uploads\/2022\/01\/instalacao_posinstall_error1b.png 593w, https:\/\/gladiston.net.br\/wp-content\/uploads\/2022\/01\/instalacao_posinstall_error1b-300x285.png 300w\" sizes=\"auto, (max-width: 593px) 100vw, 593px\" \/><\/figure>\n\n\n\n<p>if you indicate <strong>\/usr <\/strong>as suggested, the IDE will then think that freepascal will be in a \/usr tree like \/usr\/lib64\/fpc, \/usr\/bin, etc\u2026 is this true? We will see:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>r<span style=\"background-color: inherit; font-size: inherit; color: var(--global--color-foreground);\">pm -ql fpc|head -10|grep \/usr<\/span><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">(...)<br><code>\/usr\/bin\/bin2obj<br>\/usr\/bin\/chmcmd<br>\/usr\/bin\/chmls<br>\/usr\/bin\/cldrparser<br>\/usr\/bin\/compileserver<br>\/usr\/bin\/cvsco.tdf<br>\/usr\/bin\/cvsdiff.tdf<\/code><br>(...)<\/pre>\n\n\n\n<p>As we can confirm above, apparently<strong> \/usr<\/strong> is the prefix where Free Pascal actually installed its files, so we can confirm <strong>\/usr<\/strong> on the screen above and after <strong>Start IDE<\/strong>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Algumas vezes, ao executar o programa pode aparecer a seguinte mensagem: Pelas minhas observa\u00e7\u00f5es, ela acontece porque o arquivo onde \u00e9 guardado algumas configura\u00e7\u00f5es n\u00e3o existe, est\u00e1 corrompido ou voc\u00ea acabou de fazer uma instala\u00e7\u00e3o limpa. Como arquivo de configura\u00e7\u00e3o voc\u00ea poder\u00e1 usar o padr\u00e3o que ele oferece que \u00e9 ~\/.config\/fppkg.cfg. N\u00e3o \u00e9 preciso se [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":159,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/template-full-width.php","meta":{"footnotes":""},"class_list":["post-255","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/comments?post=255"}],"version-history":[{"count":3,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/255\/revisions"}],"predecessor-version":[{"id":422,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/255\/revisions\/422"}],"up":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/159"}],"wp:attachment":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/media?parent=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}