El 19 de noviembre de 2025 21:53:12 CET, Greg Troxel <[email protected]> escribió:
>Ramiro Aceves <[email protected]> writes:
>
>> Anyway, I have been able to compile QUCS-S. Instead of git cloning this:
>>
>> https://github.com/ra3xdh/qucs_s.git
>>
>> I downloaded a stable release:
>>
>> https://github.com/ra3xdh/qucs_s/releases/download/25.2.0/qucs-s-25.2.0.tar.gz
>>
>> I compiled with:
>>
>> $cmake .. \
>> -DBISON_DIR=/usr/pkg/bin \
>> -DCMAKE_INSTALL_PREFIX=/home/ramiro/qucs-s \
>> -DCMAKE_PREFIX_PATH=/usr/pkg/qt6 \
>> -DCMAKE_INCLUDE_PATH=/usr/pkg/include \
>> -DCMAKE_LIBRARY_PATH=/usr/pkg/lib \
>> -DCMAKE_CXX_FLAGS="-I/usr/pkg/include" \
>> -DCMAKE_EXE_LINKER_FLAGS="-L/usr/pkg/lib"
>>
>> $make -j8
>
>Yes, you are close. Look for a package that has ".include" of
>..../cmake/build.mk
>It is possible url2pkg will even do this for you.
>
>> $make install
>>
>> netbsd-nuc$ ./qucs-s
>> ./qucs-s: Shared object "libQt6SvgWidgets.so.6" not found
>> netbsd-nuc$
>>
>> netbsd-nuc$ ldd qucs-s
>> qucs-s:
>> -lQt6SvgWidgets.6 => not found
>> -lQt6Xml.6 => not found
>> -lQt6PrintSupport.6 => not found
>> -lQt6Svg.6 => not found
>> -lQt6Widgets.6 => not found
>> -lQt6Gui.6 => not found
>> -lGL.1 => not found
>> -lQt6Core.6 => not found
>> -lstdc++.9 => /usr/lib/libstdc++.so.9
>> -lm.0 => /usr/lib/libm.so.0
>> -lc.12 => /usr/lib/libc.so.12
>> -lgcc_s.1 => /usr/lib/libgcc_s.so.1
>> -lpthread.1 => /usr/lib/libpthread.so.1
>>
>> I think I am close.
>
>You are. Likely the pkgsrc build will not have those 'not found' as it
>sets up rpath correctly.
>
Thanks Greg, I am going to study it.
Regards