Trouble Building Earthworm Libraries for EEW Integration

15 views
Skip to first unread message

Rahul Singh

unread,
Jun 15, 2025, 11:03:12 AMJun 15
to Earthworm Community Forum

Hi everyone,

I’m reaching out from Inventis Labs, where we are developing our own Earthquake Early Warning (EEW) system. As part of this project, we are trying to connect our system with the Earthworm framework to leverage its capabilities for real-time data processing and communication.

We have successfully built the necessary code for our EEW system, but we are currently facing challenges in integrating it with Earthworm due to issues with building the Earthworm libraries (libearthworm.a and libearthworm.so).

Here’s a summary of the issues we’re encountering:

  1. Environment: We are using Earthworm version 8.0 on [insert your OS, e.g., Ubuntu 20.04, CentOS, etc.].

  2. Build Process: We navigated to the Earthworm source directory (/home/ew/earthworm_8.0/src) and attempted to run the following commands:

    bash
    RunCopy code
    1make clean 2make unix # or make solaris, depending on our system

    However, when we tried to run make clean, we received the following error:

    RunCopy code
    1make: *** No rule to make target 'clean'. Stop.
  3. Library Files: After running the build command, we checked the lib directory (/home/ew/earthworm_8.0/lib), but we did not find the expected library files. Instead, the directory contains only object files (.o) and some static libraries for other components, but nothing for Earthworm.

  4. Dependencies: We have ensured that all required dependencies are installed, including libcjson and libmicrohttpd, but we still cannot locate the Earthworm libraries.

  5. Manual Compilation Attempts: We even tried to manually compile the source files and create the static library using:

    bash
    RunCopy code
    1gcc -c *.c # from the src directory 2ar rcs libearthworm.a *.o

    Unfortunately, we encountered errors indicating that the necessary .c files were not found in the lib directory.

We are really stuck at this point and would greatly appreciate any guidance on how to successfully build the Earthworm libraries. Is there something we might be missing, or is there a known issue with the build process for version 8.0? Any help would be immensely valuable!

Thank you in advance for your assistance!


Rahul Singh

unread,
Jun 15, 2025, 11:03:39 AMJun 15
to Earthworm Community Forum

Stefan Lisowski

unread,
Jun 16, 2025, 10:57:31 AMJun 16
to earthwo...@googlegroups.com, Rahul Singh
You need to set your environment variables in ew_linux.bash and then
source this script to activate them before you go to 'make'

On 6/14/2025 4:40 AM, Rahul Singh wrote:
> Hi everyone,
>
> I’m reaching out from Inventis Labs, where we are developing our own
> Earthquake Early Warning (EEW) system. As part of this project, we are
> trying to connect our system with the Earthworm framework to leverage
> its capabilities for real-time data processing and communication.
>
> We have successfully built the necessary code for our EEW system, but we
> are currently facing challenges in integrating it with Earthworm due to
> issues with building the Earthworm libraries (libearthworm.a and
> libearthworm.so).
>
> Here’s a summary of the issues we’re encountering:
>
> 1.
>
> Environment: We are using Earthworm version 8.0 on [insert your OS,
> e.g., Ubuntu 20.04, CentOS, etc.].
>
> 2.
>
> Build Process: We navigated to the Earthworm source directory (/
> home/ew/earthworm_8.0/src) and attempted to run the following commands:
>
> bash
> RunCopy code
> 1makeclean 2makeunix # or make solaris, depending on our system
>
> However, when we tried to run make clean, we received the following
> error:
>
> RunCopy code
> 1make:***Norule to make target 'clean'.Stop.
> 3.
>
> Library Files: After running the build command, we checked the
> lib directory (/home/ew/earthworm_8.0/lib), but we did not find the
> expected library files. Instead, the directory contains only object
> files (.o) and some static libraries for other components, but
> nothing for Earthworm.
>
> 4.
>
> Dependencies: We have ensured that all required dependencies are
> installed, including libcjson and libmicrohttpd, but we still cannot
> locate the Earthworm libraries.
>
> 5.
>
> Manual Compilation Attempts: We even tried to manually compile the
> source files and create the static library using:
>
> bash
> RunCopy code
> 1gcc -c *.c # from the src directory2ar rcs libearthworm.a *.o
>
> Unfortunately, we encountered errors indicating that the
> necessary .c files were not found in the lib directory.
>
> We are really stuck at this point and would greatly appreciate any
> guidance on how to successfully build the Earthworm libraries. Is there
> something we might be missing, or is there a known issue with the build
> process for version 8.0? Any help would be immensely valuable!
>
> Thank you in advance for your assistance!
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
>
> To post to this group, send an email to earthwo...@googlegroups.com
>
> To unsubscribe from this group, send an email to
> earthworm_for...@googlegroups.com
>
> For more options, visit this group at
> http://groups.google.com/group/earthworm_forum?hl=en <http://
> groups.google.com/group/earthworm_forum?hl=en>
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to earthworm_for...@googlegroups.com
> <mailto:earthworm_for...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> earthworm_forum/5b30d8f9-ee67-4c09-85ab-46e9e7c0fdf3n%40googlegroups.com
> <https://groups.google.com/d/msgid/earthworm_forum/5b30d8f9-
> ee67-4c09-85ab-46e9e7c0fdf3n%40googlegroups.com?
> utm_medium=email&utm_source=footer>.


--








*To follow ISTI news and updates please subscribe to our newsletter
"the isti letter" at  https://www.isti.com/newsletter-sign-up
<https://www.isti.com/newsletter-sign-up>.*





Reply all
Reply to author
Forward
0 new messages