skip to Main Content

I am trying to run age-viewer desktop application (go) on my machine (ubuntu 22.04.2) but when I run:

wails dev

in the terminal it gives the following error:

enter image description here

Any help would be appreciated!

5

Answers


  1. Please, try to install the PostgreSQL development libraries by this following commands:

    sudo apt-get install libpq-dev
    

    Another way to solve this is verify if the postgresql.h is already in the path.

    Login or Signup to reply.
  2. Search for postgres.h

    find / -name "postgres.h" -print
    

    and add to your path.

    Login or Signup to reply.
  3. agensgraph.c was a redundant/unnecessary file in the Age-viewer-Go repository, which is causing errors while building through wails build.

    But with the merger of this PR all those redundant files have been removed, you can update your local repo with the latest updates and this problem will be solved.

    Login or Signup to reply.
  4. The ageviewer-go branch had some initial commits which contains agensgraph.c. But with the current development of the desktop application it’s no longer needed.You can remove that file and be good to go.
    In the future PR, it’ll be removed from the repository as its conflicting in making go workspace as well.

    Login or Signup to reply.
  5. You’re getting this error because there are some older files in the go_viewer branch which are not part of the AGE Viewer Desktop Go app.
    These include the (at the project root):

    • agensgraph.c file
    • sql directory
    • expected directory
    • age-viewer directory

    These would be removed in upcoming PRs. For now you can simply go ahead and remove these files and directories and try wails dev again.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search