Hi,
I had tried with git version as per the doc :
https://celix.apache.org/documentation/getting_started.html
after
make all
I did :
#install the framework and the bundles
sudo make install-all
It showed me error : make: *** No rule to make target 'install-all'. Stop.
So I did sudo make install
log file attached : install_log.txt
I created the demo project . After creating, built it and another error
showed :
-- Using jar to create bundles
-- bundle function is deprecated. update target 'hello_001' to add_bundle
-- Configuring done
CMake Error at
/usr/local/share/celix/cmake/modules/cmake_celix/Packaging.cmake:149
(add_library):
Cannot find source file:
(
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
Call Stack (most recent call first):
/usr/local/share/celix/cmake/modules/cmake_celix/PackagingLegacy.cmake:41
(add_bundle)
bundles/hello_001/CMakeLists.txt:4 (bundle)
CMake Error: CMake can not determine linker language for target: hello_001
CMake Error: Cannot determine link language for target "hello_001".
-- Generating done
-- Build files have been written to:
/home/anupam/Dev/ApacheCelix/git_celix/DM_proj_001-build
So what was the issue with it? The directory structure of the demo proj :
├── DM_proj_001
│ ├── bundles
│ │ └── hello_001
│ │ ├── CMakeLists.txt
│ │ └── private
│ │ └── src
│ │ └── activator.c
│ └── CMakeLists.txt
└── DM_proj_001-build
├── bundles
│ └── hello_001
│ ├── CMakeFiles
│ │ ├── CMakeDirectoryInformation.cmake
│ │ ├── hello_001_bundle.dir
│ │ │ ├── build.make
│ │ │ ├── cmake_clean.cmake
│ │ │ ├── DependInfo.cmake
│ │ │ └── progress.make
│ │ ├── hello_001.dir
│ │ │ ├── build.make
│ │ │ ├── cmake_clean.cmake
│ │ │ ├── DependInfo.cmake
│ │ │ ├── depend.make
│ │ │ ├── flags.make
│ │ │ └── progress.make
│ │ └── progress.marks
│ ├── cmake_install.cmake
│ ├── hello_001_gen
│ │ ├── MANIFEST.MF
│ │ ├── MANIFEST.step1
│ │ └── MANIFEST.step2
│ └── Makefile
├── CMakeCache.txt
├── CMakeFiles
│ ├── 3.5.1
│ │ ├── CMakeCCompiler.cmake
│ │ ├── CMakeDetermineCompilerABI_C.bin
│ │ ├── CMakeSystem.cmake
│ │ └── CompilerIdC
│ │ ├── a.out
│ │ └── CMakeCCompilerId.c
│ ├── bundles.dir
│ │ ├── build.make
│ │ ├── cmake_clean.cmake
│ │ ├── DependInfo.cmake
│ │ └── progress.make
│ ├── cmake.check_cache
│ ├── CMakeDirectoryInformation.cmake
│ ├── CMakeOutput.log
│ ├── CMakeRuleHashes.txt
│ ├── CMakeTmp
│ ├── deploy.dir
│ │ ├── build.make
│ │ ├── cmake_clean.cmake
│ │ ├── DependInfo.cmake
│ │ └── progress.make
│ ├── feature_tests.bin
│ ├── feature_tests.c
│ ├── Makefile2
│ ├── Makefile.cmake
│ ├── progress.marks
│ ├── rat.dir
│ │ ├── build.make
│ │ ├── cmake_clean.cmake
│ │ ├── DependInfo.cmake
│ │ └── progress.make
│ └── TargetDirectories.txt
├── cmake_install.cmake
└── Makefile
Please share your view on it. let me know if any other log is needed.
Thanks & Regards
Anupam Datta
On Thu, May 12, 2016 at 2:13 AM, Bjoern Petri <[email protected]>
wrote:
>
> Hi Anupam,
>
> Although it is still our latest release, it is actually somewhat outdated.
> Hence, there is a high chance that this issue is already solved. As you
> might have seen, there will be a new release Celix 2.0 soon. In case you do
> not want to wait that long anymore, consider taking the current development
> version from github: https://github.com/apache/celix/tree/develop .
>
> Regards,
> Bjoern
>
>
>
>
>
> Am 11/05/16 um 12:11 schrieb Anupam Datta:
>
> I had tried the
>>
>> http://mirror.fibergrid.in/apache//incubator/celix/celix-1.0.0.incubating/celix-1.0.0.incubating.tar.gz
>> I followed the README on that source folder but when I tried hello
>> world program given in the deploy folder, it showed segmentation
>> fault. Can you please let me know where is the issue?
>>
>
>
[ 1%] Built target remote_shell_deploy
[ 1%] Built target wb
[ 2%] Built target chapter04-correct-lookup-d
[ 3%] Built target producer_consumer
[ 4%] Built target mongoose_deploy
[ 5%] Built target chapter04-correct-listener-d
[ 6%] Built target chapter01-greeting-example-d
[ 7%] Built target wb_dp
[ 7%] Built target echo
[ 7%] Built target helloworld_byref
[ 10%] Built target celix_utils
[ 23%] Built target celix_framework
[ 28%] Built target shell
[ 29%] Built target shell_bundle
[ 30%] Built target hello_testlib
[ 31%] Built target hello
[ 32%] Built target hello_bundle
[ 33%] Built target shell_tui
[ 34%] Built target shell_tui_bundle
[ 36%] Built target helloworld_withcopy
[ 37%] Built target hello_test_deploy
[ 37%] Built target locking_example_mutex
[ 37%] Built target deployment-admin
[ 37%] Built target deploy
[ 39%] Built target dm_shell
[ 40%] Built target dm_shell_bundle
[ 41%] Built target tlib
[ 41%] Built target hellotest1
[ 43%] Built target hellotest1_bundle
[ 43%] Built target hellotest2
[ 44%] Built target hello2act
[ 45%] Built target hellotest2_bundle
[ 45%] Built target mongooselib
[ 45%] Built target mongoose
[ 46%] Built target mongoose_bundle
[ 47%] Built target publisherA
[ 48%] Built target publisherA_bundle
[ 49%] Built target publisherB
[ 50%] Built target publisherB_bundle
[ 51%] Built target tracker
[ 52%] Built target tracker_bundle
[ 55%] Built target dependency_manager_static
[ 56%] Built target tracker_depman
[ 57%] Built target tracker_depman_bundle
[ 58%] Built target echo_server
[ 59%] Built target echo_server_bundle
[ 61%] Built target echo_client
[ 62%] Built target echo_client_bundle
[ 64%] Built target database
[ 65%] Built target database_bundle
[ 65%] Built target producer
[ 66%] Built target producer_bundle
[ 67%] Built target consumer
[ 67%] Built target consumer_bundle
[ 67%] Built target chapter04-correct-lookup
[ 68%] Built target chapter04-correct-lookup_bundle
[ 68%] Built target chapter04-correct-listener
[ 69%] Built target chapter04-correct-listener_bundle
[ 71%] Built target chapter01-greeting-example
[ 72%] Built target chapter01-greeting-example_bundle
[ 72%] Built target chapter01-greeting-example-client
[ 73%] Built target chapter01-greeting-example-client_bundle
[ 73%] Built target benchmark_runner
[ 74%] Built target benchmark_runner_bundle
[ 76%] Built target math_provider
[ 77%] Built target math_provider_bundle
[ 79%] Built target mutex_benchmark
[ 80%] Built target mutex_benchmark_bundle
[ 85%] Built target deployment_admin
[ 85%] Built target deployment_admin_bundle
[ 87%] Built target remote_shell
[ 88%] Built target remote_shell_bundle
[ 90%] Built target log_writer
[ 90%] Built target log_writer_bundle
[ 93%] Built target log_service
[ 94%] Built target log_service_bundle
[ 94%] Built target bundles
[ 94%] Built target embedding
[ 96%] Built target dependency_manager_so
[ 97%] Built target celix
[100%] Built target celix_dfi
Install the project...
-- Install configuration: "Debug"
-- Installing: /usr/local/share/celix/bundles/deployment_admin.zip
-- Installing: /usr/local/include/celix/deployment_admin/resource_processor.h
-- Installing: /usr/local/share/celix/bundles/remote_shell.zip
-- Installing: /usr/local/share/celix/bundles/shell_tui.zip
-- Installing: /usr/local/share/celix/bundles/shell.zip
-- Installing: /usr/local/include/celix/shell/shell.h
-- Installing: /usr/local/include/celix/shell/command.h
-- Installing: /usr/local/share/celix/bundles/log_writer.zip
-- Installing: /usr/local/share/celix/bundles/log_service.zip
-- Installing: /usr/local/include/celix/log_service/log_service.h
-- Installing: /usr/local/include/celix/log_service/log_reader_service.h
-- Installing: /usr/local/include/celix/log_service/log_listener.h
-- Installing: /usr/local/include/celix/log_service/log_entry.h
-- Installing: /usr/local/include/celix/log_service/log_helper.h
-- Installing: /usr/local/share/celix/log_service/log_helper.c
-- Installing: /usr/local/include/celix/dependency_manager/dm_activator.h
-- Installing: /usr/local/include/celix/dependency_manager/dm_component.h
-- Installing:
/usr/local/include/celix/dependency_manager/dm_dependency_manager.h
-- Installing:
/usr/local/include/celix/dependency_manager/dm_service_dependency.h
-- Installing: /usr/local/include/celix/dependency_manager/dm_info.h
-- Installing: /usr/local/share/celix/bundles/dm_shell.zip
-- Installing: /usr/local/lib/libdependency_manager_static.a
-- Installing: /usr/local/lib/libdependency_manager_so.so.1
-- Installing: /usr/local/lib/libdependency_manager_so.so
-- Installing: /usr/local/bin/celix
-- Installing: /usr/local/lib/libcelix_framework.so.2
-- Installing: /usr/local/lib/libcelix_framework.so
-- Installing: /usr/local/include/celix/capability.h
-- Installing: /usr/local/include/celix/service_registration.h
-- Installing: /usr/local/include/celix/service_reference.h
-- Installing: /usr/local/include/celix/module.h
-- Installing: /usr/local/include/celix/framework_listener.h
-- Installing: /usr/local/include/celix/bundle_listener.h
-- Installing: /usr/local/include/celix/celix_errno.h
-- Installing: /usr/local/include/celix/celixbool.h
-- Installing: /usr/local/include/celix/requirement.h
-- Installing: /usr/local/include/celix/archive.h
-- Installing: /usr/local/include/celix/manifest.h
-- Installing: /usr/local/include/celix/utils.h
-- Installing: /usr/local/include/celix/service_tracker.h
-- Installing: /usr/local/include/celix/properties.h
-- Installing: /usr/local/include/celix/constants.h
-- Installing: /usr/local/include/celix/service_registry.h
-- Installing: /usr/local/include/celix/filter.h
-- Installing: /usr/local/include/celix/bundle_revision.h
-- Installing: /usr/local/include/celix/framework_event.h
-- Installing: /usr/local/include/celix/wire.h
-- Installing: /usr/local/include/celix/service_factory.h
-- Installing: /usr/local/include/celix/framework.h
-- Installing: /usr/local/include/celix/framework_exports.h
-- Installing: /usr/local/include/celix/service_event.h
-- Installing: /usr/local/include/celix/bundle_activator.h
-- Installing: /usr/local/include/celix/bundle_event.h
-- Installing: /usr/local/include/celix/listener_hook_service.h
-- Installing: /usr/local/include/celix/bundle_context.h
-- Installing: /usr/local/include/celix/bundle_archive.h
-- Installing: /usr/local/include/celix/service_tracker_customizer.h
-- Installing: /usr/local/include/celix/bundle.h
-- Installing: /usr/local/include/celix/celix_log.h
-- Installing: /usr/local/include/celix/celix_launcher.h
-- Installing: /usr/local/include/celix/bundle_state.h
-- Installing: /usr/local/include/celix/service_listener.h
-- Installing: /usr/local/share/celix/cmake/modules
-- Installing: /usr/local/share/celix/cmake/modules/cmake_celix
-- Installing: /usr/local/share/celix/cmake/modules/cmake_celix/Packaging.cmake
-- Installing: /usr/local/share/celix/cmake/modules/cmake_celix/vcxproj.user.in
-- Installing:
/usr/local/share/celix/cmake/modules/cmake_celix/BuildOptions.cmake
-- Installing:
/usr/local/share/celix/cmake/modules/cmake_celix/Dependencies.cmake
-- Installing: /usr/local/share/celix/cmake/modules/cmake_celix/ApacheRat.cmake
-- Installing:
/usr/local/share/celix/cmake/modules/cmake_celix/CodeCoverage.cmake
-- Installing:
/usr/local/share/celix/cmake/modules/cmake_celix/PackagingLegacy.cmake
-- Installing: /usr/local/share/celix/cmake/modules/cmake_celix/Config.cmake.in
-- Installing: /usr/local/share/celix/cmake/modules/cmake_celix/RunConfig.in
-- Installing:
/usr/local/share/celix/cmake/modules/cmake_celix/Manifest.template.in
-- Installing: /usr/local/share/celix/cmake/modules/cmake_celix/NOTE
-- Installing: /usr/local/share/celix/cmake/modules/FindSlp.cmake
-- Installing: /usr/local/share/celix/cmake/modules/FindSyslog.cmake
-- Installing: /usr/local/share/celix/cmake/modules/UseDoxygen.cmake
-- Installing: /usr/local/share/celix/cmake/modules/FindJansson.cmake
-- Installing: /usr/local/share/celix/cmake/modules/CMakeCelix.cmake
-- Installing: /usr/local/share/celix/cmake/modules/FindCppUTest.cmake
-- Installing: /usr/local/share/celix/cmake/modules/FindFFI.cmake
-- Installing: /usr/local/share/celix/cmake/modules/FindUUID.cmake
-- Installing: /usr/local/share/celix/cmake/modules/FindCUnit.cmake
-- Installing: /usr/local/share/celix/cmake/modules/FindCELIX.cmake
-- Installing: /usr/local/lib/libcelix_utils.so.2
-- Installing: /usr/local/lib/libcelix_utils.so
-- Installing: /usr/local/include/celix/version.h
-- Installing: /usr/local/include/celix/celix_threads.h
-- Installing: /usr/local/include/celix/exports.h
-- Installing: /usr/local/include/celix/linked_list.h
-- Installing: /usr/local/include/celix/array_list.h
-- Installing: /usr/local/include/celix/hash_map.h
-- Installing: /usr/local/include/celix/version_range.h
-- Installing: /usr/local/include/celix/thpool.h
-- Installing: /usr/local/include/celix/linked_list_iterator.h
-- Installing: /usr/local/lib/libcelix_dfi.so.1
-- Installing: /usr/local/lib/libcelix_dfi.so
-- Installing: /usr/local/include/celix/dfi/json_rpc.h
-- Installing: /usr/local/include/celix/dfi/dyn_message.h
-- Installing: /usr/local/include/celix/dfi/dyn_function.h
-- Installing: /usr/local/include/celix/dfi/dyn_type.h
-- Installing: /usr/local/include/celix/dfi/dyn_common.h
-- Installing: /usr/local/include/celix/dfi/json_serializer.h
-- Installing: /usr/local/include/celix/dfi/dyn_interface.h
-- Installing: /usr/local/include/celix/dfi/dfi_log_util.h